forked from endorphant/ttbp
Merge branch 'feature_style_permalink' of git://github.com/SinaCutie/ttbp into SinaCutie-feature_style_permalink
commit
41ccd6ba32
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue