Skip to content

Commit e084f06

Browse files
committed
take over Jekyll structure from example project
Messing with the project structure led to nothing much. So I basically copied the example structure from https://github.com/jsanz/gh-pages-minima-starter
1 parent 0122502 commit e084f06

File tree

6 files changed

+39
-16
lines changed

6 files changed

+39
-16
lines changed

docs/_config.yml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
# You can create any custom variable you would like, and they will be accessible
1919
# in the templates via {{ site.myvariable }}.
2020

21-
title: Fix - Documentation and Dev Diary
22-
email: fix@arne-mertz.de
21+
title: Fix
22+
2323
description: >- # this means to ignore newlines until "baseurl:"
24-
You can find the dev diary <a href="https://arne-mertz.de/category/fix-dev-diary/>at my blog</a>
25-
as well, among posts about C++ and maintainable code.
26-
baseurl: "" # the subpath of your site, e.g. /blog
24+
Dev diary and associated documentation for the Fix toy project
25+
baseurl: "/fix" # the subpath of your site, e.g. /blog
2726
url: "" # the base hostname & protocol for your site, e.g. http://example.com
27+
2828
twitter_username: arne_mertz
2929
github_username: arnemertz
3030

@@ -33,6 +33,14 @@ theme: minima
3333
plugins:
3434
- jekyll-feed
3535

36+
header_pages:
37+
- _pages/frontpage.md
38+
- _pages/about.md
39+
- _pages/archive.md
40+
41+
include:
42+
- _pages
43+
3644
# Exclude from processing.
3745
# The following items will not be processed, by default.
3846
# Any item listed under the `exclude:` key here will be automatically added to
@@ -52,3 +60,7 @@ plugins:
5260
# - vendor/cache/
5361
# - vendor/gems/
5462
# - vendor/ruby/
63+
exclude:
64+
- .gitignore
65+
- Gemfile
66+
- Gemfile.lock
File renamed without changes.
File renamed without changes.

docs/_pages/archive.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
permalink: /archive
3+
layout: page
4+
title: Dev Diary Archive
5+
---
6+
7+
8+
<ul>
9+
{% for post in site.posts %}
10+
<li>
11+
<a href=".{{ post.url }}">{{ post.title }}</a>
12+
</li>
13+
{% endfor %}
14+
</ul>

docs/_pages/frontpage.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
permalink: /
3+
layout: home
4+
title: Home
5+
list_title: Dev diary
6+
---
7+
8+
This is the site for some documentation regarding Fix, but mostly the dev diary.

docs/index.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)