This site is little old. Please access hirokiky.org to check my new articles.

hirokiky's blog

Hiroki KIYOHARA's Weblog.

  • Home
  • About
  • « #kabepy B-PUMP Tokyo秋葉原の紹介(kabepy Advent Calendar)
  • Hello World! »
December 02, 2012

How to disable the notice of copyright on tinkerer

This blog is publishing on CC BY-SA. So, displaying the notice of copyright is not suitable.

By default, the notice is on footer. But, disabling it is able by adding line to conf.py like this.

html_show_copyright = False

Also my blog’s conf.py is using this way like this

How it works

You can find how it’s value works on tinkerer/themes/boilerplate/layout.html.

{%- if show_copyright -%}
   {% trans copyright=copyright|e -%}© Copyright {{ copyright }}. {% endtrans -%}
{%- endif -%}

It seems that html_show_copyright on conf.py will be passed to html like shape show_copyright.

Finally, my blog never display the notice of copyright. Check the footer.

Posted by Hiroki KIYOHARA
Tags: tinkerer
  • « #kabepy B-PUMP Tokyo秋葉原の紹介(kabepy Advent Calendar)
  • Hello World! »

Profile

hirokiky(Hiroki KIYOHARA)

Happy Hacking Programmer. Python, Django.

Recent Posts

  • ヒヨッコの僕たちはこうして新規プロダクトPyQを企画・開発・販売しました
  • Renewed my website
  • Migrated the hosting of blog to ReadTheDocs
  • Build, Minify, Merge TypeScript by webassets
  • 新サービスKarmaidをリリースしました
  • ResetボタンはjQueryのchangeイベントを発生させない
  • Python mini Hack-a-thon 雪山合宿 2014 に行ってきた
  • genaa が Python 2 対応しました (0.3リリース)
  • Comparing reversed URLs in Django template
  • New year's python meme 2013

Search

Tags

admin (1), aggregation (1), async (1), bouldering (5), celery (2), cureadvent (1), db (1), design (1), django (16), django-celery (1), django-debug-toolbar (1), django-newauth (1), elearning (1), gdal (1), gearbox (1), genaa (2), geodjango (1), guestbook (1), jquery (1), kabepy (2), karmaid (1), logging (1), mac (1), matcha (1), memo (2), mercurial (1), mics (1), minimock (1), misc (13), misc. (2), mock (1), mongodb (1), orm (2), paste (1), programming (1), pushosu (1), pyhack (1), pyq (1), pyramid (3), pyramid_tochart (1), python (10), pythonadventcalendar (2), pythonmeme (2), raw (1), readthedocs (1), release (3), repoze.who (1), sentry (2), single-dispatch (1), south (1), sql (1), sqlalchemy (2), storage (1), test (1), tinkerer (2), tips (1), tortoisehg (1), uiro (2), venusian (1), weiwei (1), wsgi (4), xaxtluxo (1), zope.interface (1)
Powered by Tinkerer and Sphinx.