This commit is contained in:
Yax 2019-08-17 16:48:52 +02:00
parent 0538f61b5a
commit ac45ac1b6c
193 changed files with 12172 additions and 128 deletions

12
layout/feed.xml Normal file
View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>{{ title }}</title>
<link>{{ site_url }}/</link>
<description>Grow with Technology</description>
{{ content }}
</channel>
</rss>

10
layout/item.html Normal file
View file

@ -0,0 +1,10 @@
<article>
<h2><a href="{{ base_path }}/{{ blog }}/{{ slug }}/">{{ title }}</a></h2>
<p class="meta">Published on {{ date }} by <b>{{ author }}</b></p>
<p class="summary">
{{ summary }}&nbsp;<a class="more" href="{{ base_path }}/{{ blog }}/{{ slug }}/">...</a>
</p>
<div>
<a class="more" href="{{ base_path }}/{{ blog }}/{{ slug }}/">Read More</a>
</div>
</article>

13
layout/item.xml Normal file
View file

@ -0,0 +1,13 @@
<item>
<title>{{ title }}</title>
<link>{{ site_url }}/{{ blog }}/{{ slug }}/</link>
<description>
<![CDATA[
<p>
{{ summary }}&nbsp;<a href="{{ site_url }}/{{ blog }}/{{ slug }}/">...</a>
</p>
<p><a href="{{ site_url }}/{{ blog }}/{{ slug }}/">Read More</a></p>
]]>
</description>
<pubDate>{{ rfc_2822_date }}</pubDate>
</item>

5
layout/list.html Normal file
View file

@ -0,0 +1,5 @@
<h1>{{ title }}</h1>
{{ content }}
<section>
<a class="rss" href="{{ base_path }}/{{ blog }}/rss.xml">RSS</a>
</section>

42
layout/page.html Normal file
View file

@ -0,0 +1,42 @@
<!DOCTYPE html>
<html>
<head>
<title>{{ title }} - {{ subtitle }}</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" type="text/css" href="{{ base_path }}/css/style.css">
</head>
<body id="{{ slug }}">
<nav>
<section>
<span class="home">
<a href="{{ base_path }}/">Home</a>
</span>
<span class="links">
<a href="{{ base_path }}/blog/">Blog</a>
<a href="{{ base_path }}/news/">News</a>
<a href="{{ base_path }}/contact/">Contact</a>
<a href="{{ base_path }}/about/">About</a>
</span>
</section>
</nav>
<main>
{{ content }}
</main>
<footer>
<section>
<p>&copy; {{ current_year }} Lorem Ipsum</p>
<p>
<a href="https://twitter.com/sunainapai">Twitter</a>
<a href="https://github.com/sunainapai">GitHub</a>
<a href="https://www.example.com/">Example</a>
</p>
</section>
</footer>
</body>
</html>

5
layout/post.html Normal file
View file

@ -0,0 +1,5 @@
<article>
<h1><a href="{{ base_path }}/{{ blog }}/{{ slug }}/">{{ title }}</a></h1>
<p class="meta">Published on {{ date }} by <b>{{ author }}</b></p>
{{ content }}
</article>