aboutsummaryrefslogtreecommitdiff
path: root/source/template.html
diff options
context:
space:
mode:
authorZhiming Wang <zmwangx@gmail.com>2016-07-24 19:42:15 +0800
committerZhiming Wang <zmwangx@gmail.com>2016-07-24 19:42:15 +0800
commita6ef3857971f57d1a4a2e3fedf505e11547187b2 (patch)
tree4fdbf75b23e9e2ac4fd096981fc9d706b33f3aa3 /source/template.html
parentd4e56a6c80197199a5d3936f86e2f46c49f27cbd (diff)
downloadmy_new_personal_website-a6ef3857971f57d1a4a2e3fedf505e11547187b2.tar.xz
my_new_personal_website-a6ef3857971f57d1a4a2e3fedf505e11547187b2.zip
template.html: Allow per-file custom CSS
Diffstat (limited to 'source/template.html')
-rw-r--r--source/template.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/template.html b/source/template.html
index 5c7895b9..527e8375 100644
--- a/source/template.html
+++ b/source/template.html
@@ -28,6 +28,9 @@ $endif$
$if(chinese_article)$
<link href="/css/print-chinese-article.css" media="print" rel="stylesheet" type="text/css"/>
$endif$
+$if(custom-css)$
+ <style type="text/css">$custom-css$</style>
+$endif$
</head>
<body>
<nav class="nav">