Skip to content

Commit

Permalink
take over Jekyll structure from example project
Browse files Browse the repository at this point in the history
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
  • Loading branch information
arnemertz committed Jul 29, 2021
1 parent 0122502 commit e084f06
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 16 deletions.
22 changes: 17 additions & 5 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.

title: Fix - Documentation and Dev Diary
email: fix@arne-mertz.de
title: Fix

description: >- # this means to ignore newlines until "baseurl:"
You can find the dev diary <a href="https://arne-mertz.de/category/fix-dev-diary/>at my blog</a>
as well, among posts about C++ and maintainable code.
baseurl: "" # the subpath of your site, e.g. /blog
Dev diary and associated documentation for the Fix toy project
baseurl: "/fix" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g. http://example.com

twitter_username: arne_mertz
github_username: arnemertz

Expand All @@ -33,6 +33,14 @@ theme: minima
plugins:
- jekyll-feed

header_pages:
- _pages/frontpage.md
- _pages/about.md
- _pages/archive.md

include:
- _pages

# Exclude from processing.
# The following items will not be processed, by default.
# Any item listed under the `exclude:` key here will be automatically added to
Expand All @@ -52,3 +60,7 @@ plugins:
# - vendor/cache/
# - vendor/gems/
# - vendor/ruby/
exclude:
- .gitignore
- Gemfile
- Gemfile.lock
File renamed without changes.
File renamed without changes.
14 changes: 14 additions & 0 deletions docs/_pages/archive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
permalink: /archive
layout: page
title: Dev Diary Archive
---


<ul>
{% for post in site.posts %}
<li>
<a href=".{{ post.url }}">{{ post.title }}</a>
</li>
{% endfor %}
</ul>
8 changes: 8 additions & 0 deletions docs/_pages/frontpage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
permalink: /
layout: home
title: Home
list_title: Dev diary
---

This is the site for some documentation regarding Fix, but mostly the dev diary.
11 changes: 0 additions & 11 deletions docs/index.md

This file was deleted.

0 comments on commit e084f06

Please sign in to comment.