aboutsummaryrefslogtreecommitdiff
path: root/layouts/templates/main.shtml
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2024-12-21 22:18:18 +0000
committerMartin Ashby <martin@ashbysoft.com>2024-12-21 22:18:18 +0000
commit82e7ac75954c973a5c59a02684788c0fb26e14dd (patch)
treea1b09939f30bc4c232e69f980c2a47e48625ee1d /layouts/templates/main.shtml
parentff323f79e03174e4cdf2a709c095ff83e7ea3669 (diff)
downloadmfashby.net-82e7ac75954c973a5c59a02684788c0fb26e14dd.tar.gz
mfashby.net-82e7ac75954c973a5c59a02684788c0fb26e14dd.tar.bz2
mfashby.net-82e7ac75954c973a5c59a02684788c0fb26e14dd.tar.xz
mfashby.net-82e7ac75954c973a5c59a02684788c0fb26e14dd.zip
Bump zine 0.3.0 -> 0.8.0
Fix a lot of associated breakage Fix broken rss.xml file as highlighted to me by Matthijs van der Wild (thanks!)
Diffstat (limited to 'layouts/templates/main.shtml')
-rw-r--r--layouts/templates/main.shtml8
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/templates/main.shtml b/layouts/templates/main.shtml
index 7af8a0c..8f7784e 100644
--- a/layouts/templates/main.shtml
+++ b/layouts/templates/main.shtml
@@ -5,9 +5,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="$page.author">
<meta name="description" content="$page.description">
- <title var="$page.title.suffix('|', $site.title)"></title>
- <link rel="stylesheet" href="/css/style.css">
- <link rel="stylesheet" href="/css/fonts.css">
+ <title :text="$page.title.suffix('|', $site.title)"></title>
+ <link rel="stylesheet" href="$site.asset('css/style.css').link()">
+ <link rel="stylesheet" href="$site.asset('css/fonts.css').link()">
<link rel="alternate" type="application/rss+xml" title="RSS" href="/index.xml">
</head>
<body>
@@ -24,7 +24,7 @@
<super>
</div>
<footer>
- <div if="$page.custom.get('comments', false)">
+ <div :if="$page.custom.getOr('comments', false)">
<h2>comments</h2>
<div style="visibility: hidden" id="comments">comments go here</div>
<div style="visibility: hidden" id="comment_form">comment form goes here</div>