Merge branch 'feature_style_permalink' of git://github.com/SinaCutie/ttbp into SinaCutie-feature_style_permalink

master
Vincent Zeng 2018-03-05 12:52:10 -05:00
commit 41ccd6ba32
2 changed files with 7 additions and 1 deletions

View File

@ -28,6 +28,12 @@ body {
padding: 1em; padding: 1em;
} }
.entry p.permalink {
font-size: .6em;
font-color: #808080;
text-align: right;
}
.entry h5 { .entry h5 {
text-align: right; text-align: right;
margin-top: .2em; margin-top: .2em;

View File

@ -221,7 +221,7 @@ def write_entry(filename):
# entry.append("</p>\n\t\t\t<p>") # entry.append("</p>\n\t\t\t<p>")
#entry.append("</p>\n") #entry.append("</p>\n")
entry.append("\t\t\t<p style=\"font-size:.6em; font-color:#808080; text-align: right;\"><a href=\""+"".join(date)+".html\">permalink</a></p>\n") entry.append("\t\t\t<p class=\"permalink\"><a href=\""+"".join(date)+".html\">permalink</a></p>\n")
entry.append("\n\t\t</div>\n") entry.append("\n\t\t</div>\n")
return entry return entry