add example site

This commit is contained in:
Nico 2022-01-05 20:25:09 +00:00
parent 3932e4c111
commit c0f9594f48
15 changed files with 115 additions and 0 deletions

14
example/content/index.gmi Normal file
View File

@ -0,0 +1,14 @@
# An awesome example site
This is an AWESOME example site for linlui, a site generator that maybe almost doesn't suck!
This site contains all sorts of cool stuff, like:
* Fake quotes
* a log with only a single post
* a photo of a tomato
> "linluwi is a site generator so cool that I rewrote it in rust for myself"
> - Joe Fakename
=> /log/index.gmi read the blog
=> https://en.wikipedia.org/wiki/Special:Random read something random on wikipedia

View File

@ -0,0 +1,6 @@
# today, tomatoes
2021-01-05
This post exists in order to be a demo of how log posts are formatted. There's a photo of a tomato on it. I'm not sure what I was even thinking writing this particular example site. I guess it beats lipsum!
=> /tomato.jpg a tomato

BIN
example/content/tomato.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 KiB

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Example blog</title>
<author><name>Joe</name></author>
<id>gemini://example.com</id>
<updated>2021-01-05T12:00:00Z</updated>
<entry>
<id>gemini://example.com/log/tomato.gmi</id>
<title>today, tomatoes</title>
<updated>2021-01-05T12:00:00Z</updated>
<link href="/log/tomato.gmi" rel="alternate" />
</entry>
</feed>

View File

@ -0,0 +1,2 @@
# Actually Simple Syndication - https://tilde.town/~dzwdz/ass/
2021-01-05 gemini://example.com/log/tomato.gmi today, tomatoes

View File

@ -0,0 +1,16 @@
# An awesome example site
This is an AWESOME example site for linlui, a site generator that maybe almost doesn't suck!
This site contains all sorts of cool stuff, like:
* Fake quotes
* a log with only a single post
* a photo of a tomato
> "linluwi is a site generator so cool that I rewrote it in rust for myself"
> - Joe Fakename
=> gemini://example.com/log/index.gmi read the blog
=> https://en.wikipedia.org/wiki/Special:Random read something random on wikipedia
=> gemini://example.com Go Home

View File

@ -0,0 +1,5 @@
# Example blog
=> gemini://example.com/log/tomato.gmi 2021-01-05 today, tomatoes
=> gemini://example.com Go Home

View File

@ -0,0 +1,8 @@
# today, tomatoes
2021-01-05
This post exists in order to be a demo of how log posts are formatted. There's a photo of a tomato on it. I'm not sure what I was even thinking writing this particular example site. I guess it beats lipsum!
=> gemini://example.com/tomato.jpg a tomato
=> gemini://example.com Go Home

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 KiB

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Example blog</title>
<author><name>Joe</name></author>
<id>https://example.com</id>
<updated>2021-01-05T12:00:00Z</updated>
<entry>
<id>https://example.com/log/tomato.html</id>
<title>today, tomatoes</title>
<updated>2021-01-05T12:00:00Z</updated>
<link href="/log/tomato.html" rel="alternate" />
</entry>
</feed>

View File

@ -0,0 +1,2 @@
# Actually Simple Syndication - https://tilde.town/~dzwdz/ass/
2021-01-05 https://example.com/log/tomato.html today, tomatoes

View File

@ -0,0 +1,19 @@
<!DOCTYPE html><head><title>Example blog</title><body><article><h1>An awesome example site</h1>
<p>This is an AWESOME example site for linlui, a site generator that maybe almost doesn't suck! </p>
<p>This site contains all sorts of cool stuff, like:</p>
<ul><li>Fake quotes</li>
<li>a log with only a single post</li>
<li>a photo of a tomato</li>
</ul>
<blockquote>
&quot;linluwi is a site generator so cool that I rewrote it in rust for myself&quot;
- Joe Fakename
</blockquote>
<a href="https://example.com/log/index.html">read the blog</a><br>
<a href="https://en.wikipedia.org/wiki/Special:Random">read something random on wikipedia</a><br>
</article><footer>
<a href="/">Go Home</a></footer></body>

View File

@ -0,0 +1,6 @@
<!DOCTYPE html><head><title>Example blog</title><body><article><h1>Example blog</h1>
<ul><li><a href="https://example.com/log/tomato.html">2021-01-05 today, tomatoes
</a><br>
</li></ul></article><footer>
<a href="/">Go Home</a></footer></body>

View File

@ -0,0 +1,9 @@
<!DOCTYPE html><head><title>Example blog</title><body><article><h1>today, tomatoes</h1>
<p>2021-01-05</p>
<p>This post exists in order to be a demo of how log posts are formatted. There's a photo of a tomato on it. I'm not sure what I was even thinking writing this particular example site. I guess it beats lipsum!</p>
<a href="https://example.com/tomato.jpg">a tomato</a><br>
</article><footer>
<a href="/">Go Home</a></footer></body>

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 KiB