mirror of
https://github.com/sbrow/thor.git
synced 2026-08-26 11:23:32 -04:00
feat: Added Unified file system / default layout mounts.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{title}}</title>
|
||||
{{> head}}
|
||||
<link rel="stylesheet" href="/css/main.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{{> nav}}{{$content}}{{/content}}
|
||||
{{> footer}}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,15 @@
|
||||
{{<base}}
|
||||
{{$content}}
|
||||
<main>
|
||||
<header>
|
||||
{{&body}}
|
||||
</header>
|
||||
<ul>
|
||||
{{#list_pages}} <li><a href="{{permalink}}">{{&title}}</a><span>{{#date_iso}}<time
|
||||
datetime="{{date_iso}}">{{date_display}}</time>{{/date_iso}}</span>
|
||||
</li>
|
||||
{{/list_pages}}
|
||||
</ul>
|
||||
</main>
|
||||
{{/content}}
|
||||
{{/base}}
|
||||
@@ -0,0 +1,11 @@
|
||||
{{<base}}
|
||||
{{$content}}
|
||||
<main>
|
||||
<article>
|
||||
<h1>{{page_title}}</h1>
|
||||
{{#date_iso}} <time class="subtitle" datetime="{{date_iso}}">{{date_display}}</time>
|
||||
{{/date_iso}} {{&body}}
|
||||
</article>
|
||||
</main>
|
||||
{{/content}}
|
||||
{{/base}}
|
||||
@@ -0,0 +1,3 @@
|
||||
<footer>
|
||||
<p>© {{now.year}} {{author}}</p>
|
||||
</footer>
|
||||
@@ -0,0 +1,9 @@
|
||||
<meta property="og:url" content="{{og_url}}">
|
||||
<meta property="og:site_name" content="{{og_site_name}}">
|
||||
<meta property="og:title" content="{{og_title}}">
|
||||
<meta property="og:description" content="{{og_description}}">
|
||||
<meta property="og:locale" content="en_us">
|
||||
<meta property="og:type" content="{{og_type}}">
|
||||
{{#is_article}}<meta property="article:section" content="{{og_section}}">
|
||||
<meta property="article:published_time" content="{{og_published}}">
|
||||
{{/is_article}}<meta property="og:image" content="{{og_image}}">
|
||||
@@ -0,0 +1,7 @@
|
||||
<header>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="/">{{title}}</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
@@ -0,0 +1,19 @@
|
||||
{{<base}}
|
||||
{{$content}}
|
||||
<main>
|
||||
<h1>{{page_title}}</h1>
|
||||
{{&body}}
|
||||
{{#year_sections}}
|
||||
<section>
|
||||
<h2>{{year}}</h2>
|
||||
<ul>
|
||||
{{#posts}} <li><a href="{{permalink}}">{{&title}}</a><span>{{#date_iso}}<time
|
||||
datetime="{{date_iso}}">{{date_display}}</time>{{/date_iso}}</span>
|
||||
</li>
|
||||
{{/posts}}
|
||||
</ul>
|
||||
</section>
|
||||
{{/year_sections}}
|
||||
</main>
|
||||
{{/content}}
|
||||
{{/base}}
|
||||
Reference in New Issue
Block a user