Ignore folders with content

This commit is contained in:
Chris Josten 2020-06-25 00:23:02 +02:00
parent 76ea5885dd
commit e73f6e9316
11 changed files with 6 additions and 109 deletions

3
.gitignore vendored
View File

@ -13,3 +13,6 @@ mijnblog-test-*
*.o
*.obj
*.lst
articles/
pages/
projects/

View File

@ -1,42 +0,0 @@
title: Hello World
slug: hello-world
firstPublished: 2019-06-30 14:31:45
updated: 2020-06-23 23:05:00
author: Chris
tags:
- test
- test2
- test3
---
Hello, world! This is the first article ever written on this site! It
mainly consists of tests to check out the features of this website.
# Second paragraph
[test](https://example.com)
> Lololo
> <footer>Very wise man</footer>
`
code.execute();
`
Quibusdam laborum reprehenderit voluptate labore perferendis consequatur odit laboriosam. Perspiciatis saepe consequuntur voluptas. Deserunt et totam asperiores natus nulla illum.
Laborum quibusdam commodi corporis debitis velit eum autem. Quo labore numquam ipsa quo corrupti maxime ratione cupiditate. Ab impedit et et quo et sed.
Eaque officiis ut minus. Repellat commodi illum qui voluptas quos. Ut labore quod adipisci enim. Dolor pariatur ut earum id quia eum non. Consequatur assumenda nihil neque nihil cupiditate corrupti eaque sint.
Est at a quo atque vel est itaque quis. Illo enim omnis maiores quia dolorum cumque aspernatur. Rem debitis delectus eius et possimus nihil sed veniam.
Saepe non quidem id ab dicta aliquid. Ut consequatur sint non. Enim veritatis dolor asperiores consequatur itaque aliquid dolorem. Perspiciatis rem quidem voluptas qui esse recusandae.
```{.html .numberSource .literate}
<!doctype html>
<html lang="en">
<head>
<title>This is supposed to be such a large title that the page has to scroll</title>
</head>
</html>
```

View File

@ -1,3 +0,0 @@
title: "chris"
---
Yet another article. How boring.

View File

@ -1,16 +0,0 @@
title: Second!
author: Chris Josten
slug: second
---
Hi there, lovely people!
# Test
![Foo bar](/static/img/logo.png)
Hiep hiep hiep hiep hiep hahaaha warararararwararara flop adder flappppppp
Smerige lap met smeer. Doe daar je handen niet aan af. De maan is een grote
bal die zowat in de hemel hangt en daar dingen doet. Spinazie is een groente.
De maan is in tegenstelling tot spinazie geen groente.
Sjeetje, Vuurvos. Hoeveel letters moet ik nog tikken totdat je de leesmodus inschakeld?
Heel veel, heb ik zowat het idee. Wat verschrikkelijk.

View File

@ -1,5 +0,0 @@
title: Contact
slug: contact
---
If you want to contact me, you are able to reach me at <chrNOTTHISPARTis+website at netsoj.nl>.
Hopefully that obfuscated address will

View File

@ -1 +0,0 @@
Hi

View File

@ -1,12 +0,0 @@
title: Home
slug: index
---
I am Chris Josten &mdash; you might have guessed it from the url &mdash; and I am shaping the future of this
world by handcrafting influential software that will be etched into the very fibers of history!
Well, actually, I sometimes
use my computer and type some letters and code with it that will be forgotten within a month.
I have not made any substantial (yet), but [I have written some hobby projects](/projects/).
I also would like to take this opportunity to mention that the number one is not a prime number and
it never will be one.

View File

@ -1,4 +0,0 @@
title: Test page
slug: test
---
This is a test page.

View File

@ -1,14 +0,0 @@
title: Audio output chooser
slug: harbour-audio-output
images:
- harbour-audio-output-1.jpg
platforms:
- Sailfish OS
technologies:
- QML
- pulseaudio
icon: harbour-audio-output.png
description: A simple application to choose the audio output of the system.
---
A simple application to choose the audio output of the system.

View File

@ -1,12 +0,0 @@
title: This website
slug: this-website
icon: this-website.png
platforms:
- www
technologies:
- D
- diet
- vibe.d
description: My presence on the interwebs!
---
I made a website! And you're looking at it right now!

View File

@ -20,6 +20,7 @@ class Project : Page {
protected string m_icon;
protected string[] m_images;
protected string m_description;
protected string m_sourceCode;
/**
* Creates a project from a file
@ -38,6 +39,7 @@ class Project : Page {
this.m_images = headerNode.getArray!string("images", [])
.map!(x => PROJECT_IMAGE_DIR ~ x).array;
this.m_description = headerNode.getOr!string("description", "<no description>");
this.m_sourceCode = headerNode.getOr!string("sourceCode", null);
}
@property string state() { return m_state; }
@ -46,5 +48,6 @@ class Project : Page {
@property string icon() { return m_icon; }
@property string[] images() { return m_images; }
@property string description() { return m_description; }
@property string sourceCode() { return m_sourceCode; }
}