diff options
author | Justin Mayer <entroP@gmail.com> | 2015-01-05 06:53:57 -0800 |
---|---|---|
committer | Justin Mayer <entroP@gmail.com> | 2015-01-05 06:53:57 -0800 |
commit | 066f85888488a9201e990b7704b4ae7382f7e842 (patch) | |
tree | 7a8bea53b477b233c9c23633814e1e93d8219d6c /tuxlite_tbs/templates/base.html | |
parent | bd9faef09f8176cf72203efd544bd99ef52f1d54 (diff) | |
parent | a6d353644fc1c9cada8ab8d8d82270dd4d8546e6 (diff) | |
download | pelican-themes-066f85888488a9201e990b7704b4ae7382f7e842.tar.gz |
Merge pull request #111 from silb/tuxlite_tbs_fixes
Tuxlite tbs fixes
Diffstat (limited to 'tuxlite_tbs/templates/base.html')
-rw-r--r-- | tuxlite_tbs/templates/base.html | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/tuxlite_tbs/templates/base.html b/tuxlite_tbs/templates/base.html index 866d6a5..bcde895 100644 --- a/tuxlite_tbs/templates/base.html +++ b/tuxlite_tbs/templates/base.html @@ -82,7 +82,7 @@ Site </li> - <li><a href="{{ SITEURL }}/{{ ARCHIVES_URL }}">Archives</a> + <li><a href="{{ SITEURL }}/archives.html">Archives</a> <li><a href="{{ SITEURL }}/tags.html">Tags</a> @@ -156,12 +156,17 @@ <footer> <br /> -<p><a href="{{ SITEURL }}">{{ SITENAME }}</a> © {{ AUTHOR }} 2012</p> +{% if articles %} + {% set copy_date = articles[0].date.strftime('%Y') %} +{% else %} + {% set copy_date = '' %} +{% endif %} +<p><a href="{{ SITEURL }}">{{ SITENAME }}</a> © {{ AUTHOR }} {{ copy_date }}</p> </footer> </div> <!-- /container --> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> -<script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-collapse.js"></script> +<script src="{{ SITEURL }}/theme/bootstrap-collapse.js"></script> {% include "analytics.html" %} {% include "github.html" %} </body> |