kinda painful metadata
This commit is contained in:
parent
29265a2219
commit
e6d1d7f04e
10 changed files with 69 additions and 3 deletions
|
@ -1,6 +1,3 @@
|
||||||
//#import misc_page from "/utils/layouts"
|
|
||||||
//#wrap doc in misc_page(doc)
|
|
||||||
|
|
||||||
#link("https://github.com/Pagwin-Fedora")[Github] \
|
#link("https://github.com/Pagwin-Fedora")[Github] \
|
||||||
#link("https://www.linkedin.com/in/spencer-powell-pagwin/")[Linkedin] \
|
#link("https://www.linkedin.com/in/spencer-powell-pagwin/")[Linkedin] \
|
||||||
#link("https://pagwin.xyz/index.xml")[RSS]
|
#link("https://pagwin.xyz/index.xml")[RSS]
|
||||||
|
|
3
links.yaml
Normal file
3
links.yaml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
title: links
|
||||||
|
author: pagin
|
||||||
|
tags: []
|
1
posts/hello.typ
Normal file
1
posts/hello.typ
Normal file
|
@ -0,0 +1 @@
|
||||||
|
hi
|
4
posts/hello.yaml
Normal file
4
posts/hello.yaml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
title: hello
|
||||||
|
author: pagwin
|
||||||
|
tags: []
|
||||||
|
date: 2024-8-1
|
2
templates/archive.html
Normal file
2
templates/archive.html
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
My posts:
|
||||||
|
{{> templates/post-list.html }}
|
|
@ -0,0 +1,30 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
|
<title>My Shake Blog — {{{title}}}</title>
|
||||||
|
<link rel="stylesheet" type="text/css" href="/css/default.css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="header">
|
||||||
|
<div id="logo">
|
||||||
|
<a href="/">My Shake Blog</a>
|
||||||
|
</div>
|
||||||
|
<div id="navigation">
|
||||||
|
<a href="/">Home</a>
|
||||||
|
<a href="/about/">About</a>
|
||||||
|
<a href="/contact/">Contact</a>
|
||||||
|
<a href="/archive/">Archive</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="content">
|
||||||
|
<h1>{{{title}}}</h1>
|
||||||
|
{{{content}}}
|
||||||
|
</div>
|
||||||
|
<div id="footer">
|
||||||
|
Site proudly generated by <a href="https://shakebuild.com">Shake</a>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
0
templates/feed.xml
Normal file
0
templates/feed.xml
Normal file
7
templates/home.html
Normal file
7
templates/home.html
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<h2>Welcome</h2>
|
||||||
|
<img src="/images/logo.png" style="float: right; margin: 10px;" />
|
||||||
|
<p>Welcome to my blog!</p>
|
||||||
|
<p>My recent posts here for your reading pleasure:</p>
|
||||||
|
<h2>Posts</h2>
|
||||||
|
{{> templates/post-list.html }}
|
||||||
|
<p>You can find all posts in the <a href="/archive/">archives</a>.
|
7
templates/post-list.html
Normal file
7
templates/post-list.html
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<ul>
|
||||||
|
{{#posts}}
|
||||||
|
<li>
|
||||||
|
<a href="{{{link}}}">{{{title}}}</a> - {{{date}}}
|
||||||
|
</li>
|
||||||
|
{{/posts}}
|
||||||
|
</ul>
|
15
templates/post.html
Normal file
15
templates/post.html
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
<div class="info">
|
||||||
|
Posted on {{{date}}}
|
||||||
|
{{#author}}
|
||||||
|
by {{{author}}}
|
||||||
|
{{/author}}
|
||||||
|
</div>
|
||||||
|
<div class="info">
|
||||||
|
Tags:
|
||||||
|
<ul class="tags">
|
||||||
|
{{#tags}}
|
||||||
|
<li><a href="/tags/{{{.}}}/">{{{.}}}</a></li>
|
||||||
|
{{/tags}}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
{{{content}}}
|
Loading…
Reference in a new issue