Initial commit
This commit is contained in:
commit
bda33ef628
36 changed files with 4233 additions and 0 deletions
23
example/layouts/base.html
Normal file
23
example/layouts/base.html
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="{{description}}">
|
||||
<meta name="author" content="{{author}}">
|
||||
<meta property="og:title" content="{{title}} - {{site_title}}">
|
||||
<meta property="og:description" content="{{description}}">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:url" content="{{permalink}}">
|
||||
<title>{{title}} - {{site_title}}</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<link rel="alternate" type="application/rss+xml" href="/feed.xml">
|
||||
</head>
|
||||
<body>
|
||||
<div class="page">
|
||||
{{> nav}}
|
||||
<main>{{{content}}}</main>
|
||||
{{> footer}}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
27
example/layouts/post.html
Normal file
27
example/layouts/post.html
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="{{description}}">
|
||||
<meta name="author" content="{{author}}">
|
||||
<meta property="og:title" content="{{title}} - {{site_title}}">
|
||||
<meta property="og:description" content="{{description}}">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:url" content="{{permalink}}">
|
||||
<title>{{title}} - {{site_title}}</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<link rel="alternate" type="application/rss+xml" href="/feed.xml">
|
||||
</head>
|
||||
<body>
|
||||
<div class="page">
|
||||
{{> nav}}
|
||||
<main>
|
||||
<h1>{{title}}</h1>
|
||||
<p class="post-date">posted {{date}}</p>
|
||||
{{{content}}}
|
||||
</main>
|
||||
{{> footer}}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue