diff options
-rw-r--r-- | .gitattributes (renamed from source/img/.gitattributes) | 0 | ||||
-rwxr-xr-x | pyblog | 2 | ||||
-rw-r--r-- | source/css/theme.css | 2 | ||||
-rw-r--r-- | templates/template.html | 6 |
4 files changed, 6 insertions, 4 deletions
diff --git a/source/img/.gitattributes b/.gitattributes index 58da6937..58da6937 100644 --- a/source/img/.gitattributes +++ b/.gitattributes @@ -205,7 +205,7 @@ def generate_index(feed): if date.year < year: # write a new <h2 class="toc"> tag with the smaller year year = date.year - tocbuff.write(u'\n<h2 class="toc" id="{0}" datetime="{0}">{0}</h2>\n\n'.format(year)) + tocbuff.write(u'\n<h2 class="toc" id="{0}">{0}</h2>\n\n'.format(year)) # write a new <li> entry (<ul>) in Markdown, in the format: # * <time class="tocdate" datetime="2015-05-05T00:06:04-0700">May 5</time> diff --git a/source/css/theme.css b/source/css/theme.css index 645bfe50..969e73c2 100644 --- a/source/css/theme.css +++ b/source/css/theme.css @@ -107,6 +107,7 @@ footer .cc-icon { background-position: center; background-size: 16px; vertical-align: middle; + font-size: 0; } footer .feed-icon { @@ -118,6 +119,7 @@ footer .feed-icon { background-position: center; background-size: 14px; vertical-align: middle; + font-size: 0; } div.indextoc ul { diff --git a/templates/template.html b/templates/template.html index 3fb46776..cab2c033 100644 --- a/templates/template.html +++ b/templates/template.html @@ -45,7 +45,7 @@ ga('send', 'pageview'); <body> <nav> <div style="height:150px; width:100px; text-align:center;"> -<a href="/"><img src="/img/icon-100.png" height="100" width="100" style="padding: 2px 0;"></a> +<a href="/"><img src="/img/icon-100.png" alt="blog icon" height="100" width="100" style="padding: 2px 0;"></a> <div style="padding: 1px 0;"><a href="/"><strong>dl? cmplnts?</strong></a></div> <div style="font-size: 9pt;">by <a href="https://github.com/zmwangx" target="_blank">Zhiming Wang</a></div> </div> @@ -73,8 +73,8 @@ $endif$ $body$ <footer> <hr> -<a class="feed-icon" href="/atom.xml" target="_blank" title="Atom feed"> -<a class="cc-icon" href="https://creativecommons.org/licenses/by/4.0/" target="_blank" title="Released under the Creative Commons Attribution 4.0 International license."> +<a class="feed-icon" href="/atom.xml" target="_blank" title="Atom feed">Atom feed icon</a> +<a class="cc-icon" href="https://creativecommons.org/licenses/by/4.0/" target="_blank" title="Released under the Creative Commons Attribution 4.0 International license.">Creative Commons icon</a> <a href="https://github.com/zmwangx" target="_blank">Zhiming Wang</a> </footer> </article> |