Make the templates unicode
author |
Steve Losh <steve@stevelosh.com> |
date |
Wed, 02 Mar 2016 14:46:58 +0000 |
parents |
c321396887fd
|
children |
f2c975d76db1
|
branches/tags |
(none) |
files |
d/base.py d/resources/style.less |
Changes
--- a/d/base.py Sat Dec 12 13:29:36 2015 +0000
+++ b/d/base.py Wed Mar 02 14:46:58 2016 +0000
@@ -9,7 +9,7 @@
extensions = ['md', 'mdown', 'markdown']
-INDEX_PRE = '''\
+INDEX_PRE = u'''\
<!DOCTYPE html>
<html>
<head>
@@ -26,7 +26,7 @@
<header><h1><a href="">{project_title}</a></h1></header>
<div class="markdown">
'''
-CONTENT_PRE = '''\
+CONTENT_PRE = u'''\
<!DOCTYPE html>
<html>
<head>
@@ -43,7 +43,7 @@
<header><h1><a href="..">{project_title}</a></h1></header>
<div class="markdown">
'''
-POST = '''
+POST = u'''
</div>
<footer>{footer}</footer>
</div>
--- a/d/resources/style.less Sat Dec 12 13:29:36 2015 +0000
+++ b/d/resources/style.less Wed Mar 02 14:46:58 2016 +0000
@@ -27,6 +27,11 @@
h5 {
font-size: 12px;
}
+i, em {
+ a {
+ font-style: italic;
+ }
+}
pre {
line-height: 16px;
white-space: pre;