diff options
Diffstat (limited to 'layouts/templates/main.shtml')
-rw-r--r-- | layouts/templates/main.shtml | 8 |
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> |