mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-03-25 09:05:47 +00:00
Remove irrelevant tests
This commit is contained in:
parent
44fef3fb78
commit
527e9e6617
36 changed files with 1 additions and 671 deletions
6
Makefile
6
Makefile
|
|
@ -20,8 +20,4 @@ gensite:
|
|||
@echo
|
||||
./bin/build-gensite
|
||||
|
||||
test: gensite
|
||||
@echo
|
||||
./bin/test
|
||||
|
||||
.PHONY: blog publish publish_beta gensite test
|
||||
.PHONY: blog publish publish_beta gensite
|
||||
|
|
|
|||
|
|
@ -1,10 +0,0 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Valar Morghulis</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1><a href="http://example.net">Valar Morghulis</a></h1>
|
||||
<p>hello world</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1 +0,0 @@
|
|||
hello world
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"author": "A man has no name",
|
||||
"title": "Valar Morghulis",
|
||||
"url": "http://example.net"
|
||||
}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>{{ site.title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1><a href="{{ site.url }}">{{ site.title }}</a></h1>
|
||||
{{ body }}
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,62 +0,0 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
||||
|
||||
|
||||
<title>gonzo journalism: gonzo journalism</title>
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<div class="title">
|
||||
<h1><a href="/">gonzo journalism</a></h1>
|
||||
<br>
|
||||
<h4>By <a href="/about">Hunter S. Thompson</a></h4>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
<div class="container">
|
||||
|
||||
<article>
|
||||
<header>
|
||||
|
||||
<h2>→ <a href="https://placekitten.com">Cats</a></h2>
|
||||
|
||||
<time>18th December, 2019</time>
|
||||
<a class="permalink" href="/posts/2019/12/cats">∞</a>
|
||||
</header>
|
||||
<p>Cats are neat. Look at these kittens!</p>
|
||||
</article>
|
||||
|
||||
|
||||
<article>
|
||||
<header>
|
||||
|
||||
<h2><a href="/posts/2019/12/fear-and-loathing">Fear and Loathing in Las Vegas</a></h2>
|
||||
|
||||
<time>9th December, 2019</time>
|
||||
<a class="permalink" href="/posts/2019/12/fear-and-loathing">∞</a>
|
||||
</header>
|
||||
<p>We were somewhere around Barstow on the edge of the desert when the drugs began to take hold.</p>
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<footer class="container">
|
||||
© 2006 - 2019 <a href="/about">Hunter S. Thompson</a>
|
||||
</footer>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,44 +0,0 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
||||
|
||||
|
||||
<title>gonzo journalism: Cats</title>
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<div class="title">
|
||||
<h1><a href="/">gonzo journalism</a></h1>
|
||||
<br>
|
||||
<h4>By <a href="/about">Hunter S. Thompson</a></h4>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
<article>
|
||||
<header>
|
||||
|
||||
<h2>→ <a href="https://placekitten.com">Cats</a></h2>
|
||||
|
||||
<time>18th December, 2019</time>
|
||||
<a class="permalink" href="/posts/2019/12/cats">∞</a>
|
||||
</header>
|
||||
<p>Cats are neat. Look at these kittens!</p>
|
||||
</article>
|
||||
|
||||
|
||||
|
||||
<footer class="container">
|
||||
© 2006 - 2019 <a href="/about">Hunter S. Thompson</a>
|
||||
</footer>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,44 +0,0 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
||||
|
||||
|
||||
<title>gonzo journalism: Fear and Loathing in Las Vegas</title>
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<div class="title">
|
||||
<h1><a href="/">gonzo journalism</a></h1>
|
||||
<br>
|
||||
<h4>By <a href="/about">Hunter S. Thompson</a></h4>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
<article>
|
||||
<header>
|
||||
|
||||
<h2><a href="/posts/2019/12/fear-and-loathing">Fear and Loathing in Las Vegas</a></h2>
|
||||
|
||||
<time>9th December, 2019</time>
|
||||
<a class="permalink" href="/posts/2019/12/fear-and-loathing">∞</a>
|
||||
</header>
|
||||
<p>We were somewhere around Barstow on the edge of the desert when the drugs began to take hold.</p>
|
||||
</article>
|
||||
|
||||
|
||||
|
||||
<footer class="container">
|
||||
© 2006 - 2019 <a href="/about">Hunter S. Thompson</a>
|
||||
</footer>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,64 +0,0 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
||||
|
||||
|
||||
<title>gonzo journalism: December 2019</title>
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<div class="title">
|
||||
<h1><a href="/">gonzo journalism</a></h1>
|
||||
<br>
|
||||
<h4>By <a href="/about">Hunter S. Thompson</a></h4>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
<div class="month">
|
||||
<h1>December 2019</h1>
|
||||
</div>
|
||||
|
||||
|
||||
<article>
|
||||
<header>
|
||||
|
||||
<h2>→ <a href="https://placekitten.com">Cats</a></h2>
|
||||
|
||||
<time>18th December, 2019</time>
|
||||
<a class="permalink" href="/posts/2019/12/cats">∞</a>
|
||||
</header>
|
||||
<p>Cats are neat. Look at these kittens!</p>
|
||||
</article>
|
||||
|
||||
|
||||
<article>
|
||||
<header>
|
||||
|
||||
<h2><a href="/posts/2019/12/fear-and-loathing">Fear and Loathing in Las Vegas</a></h2>
|
||||
|
||||
<time>9th December, 2019</time>
|
||||
<a class="permalink" href="/posts/2019/12/fear-and-loathing">∞</a>
|
||||
</header>
|
||||
<p>We were somewhere around Barstow on the edge of the desert when the drugs began to take hold.</p>
|
||||
</article>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<footer class="container">
|
||||
© 2006 - 2019 <a href="/about">Hunter S. Thompson</a>
|
||||
</footer>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,67 +0,0 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
||||
|
||||
|
||||
<title>gonzo journalism: 2019</title>
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<div class="title">
|
||||
<h1><a href="/">gonzo journalism</a></h1>
|
||||
<br>
|
||||
<h4>By <a href="/about">Hunter S. Thompson</a></h4>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
<div class="year">
|
||||
<h1>2019</h1>
|
||||
|
||||
|
||||
<h2>
|
||||
<a href="/posts/2019/12">December</a>
|
||||
</h2>
|
||||
|
||||
<ul class="archive">
|
||||
|
||||
<li>
|
||||
|
||||
<a href="https://placekitten.com">→ Cats</a>
|
||||
|
||||
<time>18 Dec</time>
|
||||
|
||||
<a class="permalink" href="/posts/2019/12/cats">∞</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<a href="/posts/2019/12/fear-and-loathing">Fear and Loathing in Las Vegas</a>
|
||||
|
||||
<time>9 Dec</time>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<footer class="container">
|
||||
© 2006 - 2019 <a href="/about">Hunter S. Thompson</a>
|
||||
</footer>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,71 +0,0 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
||||
|
||||
|
||||
<title>gonzo journalism: Archive</title>
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<div class="title">
|
||||
<h1><a href="/">gonzo journalism</a></h1>
|
||||
<br>
|
||||
<h4>By <a href="/about">Hunter S. Thompson</a></h4>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
<h1>Archive</h1>
|
||||
|
||||
|
||||
<div class="year">
|
||||
<h2><a href="/posts/2019">2019</a></h2>
|
||||
|
||||
|
||||
<h3>
|
||||
<a href="/posts/2019/12">December</a>
|
||||
</h3>
|
||||
|
||||
<ul class="archive">
|
||||
|
||||
<li>
|
||||
|
||||
<a href="https://placekitten.com">→ Cats</a>
|
||||
|
||||
<time>18 Dec</time>
|
||||
|
||||
<a class="permalink" href="/posts/2019/12/cats">∞</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<a href="/posts/2019/12/fear-and-loathing">Fear and Loathing in Las Vegas</a>
|
||||
|
||||
<time>9 Dec</time>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<footer class="container">
|
||||
© 2006 - 2019 <a href="/about">Hunter S. Thompson</a>
|
||||
</footer>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
---
|
||||
Title: Cats
|
||||
Author: Sami Samhuri
|
||||
Date: 18th December, 2019
|
||||
Link: https://placekitten.com
|
||||
Timestamp: 1576656168
|
||||
Tags: cats
|
||||
---
|
||||
|
||||
Cats are neat. Look at these kittens!
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
---
|
||||
Title: Fear and Loathing in Las Vegas
|
||||
Author: Hunter S. Thompson
|
||||
Date: 9th December, 2019
|
||||
Timestamp: 1575964368
|
||||
Tags: fear, loathing, las vegas
|
||||
---
|
||||
|
||||
We were somewhere around Barstow on the edge of the desert when the drugs began to take hold.
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"author": "Hunter S. Thompson",
|
||||
"title": "gonzo journalism",
|
||||
"url": "http://example.net",
|
||||
"plugins": {
|
||||
"posts": {}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
<article>
|
||||
<header>
|
||||
{% if post.isLink %}
|
||||
<h2>→ <a href="{{ post.link }}">{{ post.title }}</a></h2>
|
||||
{% else %}
|
||||
<h2><a href="{{ post.path }}">{{ post.title }}</a></h2>
|
||||
{% endif %}
|
||||
<time>{{ post.formattedDate }}</time>
|
||||
<a class="permalink" href="{{ post.path }}">∞</a>
|
||||
</header>
|
||||
{{ post.body }}
|
||||
</article>
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
{% extends "site.html" %}
|
||||
|
||||
{% block body %}
|
||||
{% include "partial-post.html" post %}
|
||||
{% endblock %}
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
{% extends "site.html" %}
|
||||
|
||||
{% block body %}
|
||||
|
||||
<h1>{{ title }}</h1>
|
||||
|
||||
{% for year in years %}
|
||||
<div class="year">
|
||||
<h2><a href="{{ year.path }}">{{ year.title }}</a></h2>
|
||||
|
||||
{% for month in year.months %}
|
||||
<h3>
|
||||
<a href="{{ month.path }}">{{ month.name }}</a>
|
||||
</h3>
|
||||
|
||||
<ul class="archive">
|
||||
{% for post in month.posts %}
|
||||
<li>
|
||||
{% if post.isLink %}
|
||||
<a href="{{ post.link }}">→ {{ post.title }}</a>
|
||||
{% else %}
|
||||
<a href="{{ post.path }}">{{ post.title }}</a>
|
||||
{% endif %}
|
||||
<time>{{ post.day }} {{ month.abbreviation }}</time>
|
||||
{% if post.isLink %}
|
||||
<a class="permalink" href="{{ post.path }}">∞</a>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
{% endblock %}
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
{% extends "site.html" %}
|
||||
|
||||
{% block body %}
|
||||
|
||||
<div class="month">
|
||||
<h1>{{ title }}</h1>
|
||||
</div>
|
||||
|
||||
{% for post in posts %}
|
||||
{% include "partial-post.html" post %}
|
||||
{% endfor %}
|
||||
|
||||
{% endblock %}
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
{% extends "site.html" %}
|
||||
|
||||
{% block body %}
|
||||
|
||||
<div class="year">
|
||||
<h1>{{ title }}</h1>
|
||||
|
||||
{% for month in months %}
|
||||
<h2>
|
||||
<a href="{{ month.path }}">{{ month.name }}</a>
|
||||
</h2>
|
||||
|
||||
<ul class="archive">
|
||||
{% for post in month.posts %}
|
||||
<li>
|
||||
{% if post.isLink %}
|
||||
<a href="{{ post.link }}">→ {{ post.title }}</a>
|
||||
{% else %}
|
||||
<a href="{{ post.path }}">{{ post.title }}</a>
|
||||
{% endif %}
|
||||
<time>{{ post.day }} {{ month.abbreviation }}</time>
|
||||
{% if post.isLink %}
|
||||
<a class="permalink" href="{{ post.path }}">∞</a>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
{% extends "site.html" %}
|
||||
|
||||
{% block body %}
|
||||
|
||||
<div class="container">
|
||||
{% for post in recentPosts %}
|
||||
{% include "partial-post.html" post %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
|
@ -1,40 +0,0 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
||||
|
||||
{% if title %}
|
||||
<title>{{ site.title }}: {{ title }}</title>
|
||||
{% elif page.title %}
|
||||
<title>{{ site.title }}: {{ page.title }}</title>
|
||||
{% else %}
|
||||
<title>{{ site.title }}</title>
|
||||
{% endif %}
|
||||
|
||||
{% for style in styles %}
|
||||
<link rel="stylesheet" href="{{ style }}">
|
||||
{% endfor %}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<div class="title">
|
||||
<h1><a href="/">{{ site.title }}</a></h1>
|
||||
<br>
|
||||
<h4>By <a href="/about">{{ site.author }}</a></h4>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{% block body %}{{ body }}{% endblock %}
|
||||
|
||||
<footer class="container">
|
||||
© 2006 - {{ currentYear }} <a href="/about">{{ site.author }}</a>
|
||||
</footer>
|
||||
|
||||
{% for script in scripts %}
|
||||
<script defer src="{{ script }}"></script>
|
||||
{% endfor %}
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Nvidia, fuck you!</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1><a href="http://example.net">Nvidia, fuck you!</a></h1>
|
||||
|
||||
<ul>
|
||||
|
||||
<li><a href="/projects/linux">linux</a></li>
|
||||
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Nvidia, fuck you!: linux</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>linux</h1>
|
||||
<h3>a (free) operating system (just a hobby, won't be big and professional like gnu)</h4>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"projects": [
|
||||
{
|
||||
"title": "linux",
|
||||
"description": "a (free) operating system (just a hobby, won't be big and professional like gnu)"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"author": "Linus Torvalds",
|
||||
"title": "Nvidia, fuck you!",
|
||||
"url": "http://example.net",
|
||||
"plugins": {
|
||||
"projects": {}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>{{ site.title }}: {{ project.title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>{{ project.title }}</h1>
|
||||
<h3>{{ project.description }}</h4>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>{{ site.title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1><a href="{{ site.url }}">{{ site.title }}</a></h1>
|
||||
|
||||
<ul>
|
||||
{% for project in projects %}
|
||||
<li><a href="{{ project.path }}">{{ project.title }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Valar Morghulis</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1><a href="http://example.net">Valar Morghulis</a></h1>
|
||||
<p>i liek milk</p>
|
||||
</body>
|
||||
</html>
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 7.8 KiB |
|
|
@ -1,10 +0,0 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Valar Morghulis</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1><a href="http://example.net">Valar Morghulis</a></h1>
|
||||
<p>hello world</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1 +0,0 @@
|
|||
i liek milk
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 7.8 KiB |
|
|
@ -1 +0,0 @@
|
|||
hello world
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"author": "A man has no name",
|
||||
"title": "Valar Morghulis",
|
||||
"url": "http://example.net"
|
||||
}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>{{ site.title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1><a href="{{ site.url }}">{{ site.title }}</a></h1>
|
||||
{{ body }}
|
||||
</body>
|
||||
</html>
|
||||
9
bin/test
9
bin/test
|
|
@ -1,9 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
for site in Tests/test-*; do
|
||||
bin/gensite "$site/in" "$site/actual"
|
||||
diff -bru "$site/expected" "$site/actual"
|
||||
rm -r "$site/actual"
|
||||
done
|
||||
Loading…
Reference in a new issue