port to hugo
This commit is contained in:
parent
12fc6478e1
commit
0dca9733e7
22 changed files with 46 additions and 67 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,3 +1,5 @@
|
||||||
build/
|
build/
|
||||||
*.html
|
*.html
|
||||||
result
|
result
|
||||||
|
public/
|
||||||
|
**/_gen
|
||||||
|
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "themes/anubis"]
|
||||||
|
path = themes/anubis
|
||||||
|
url = https://github.com/mitrichius/hugo-theme-anubis.git
|
6
archetypes/default.md
Normal file
6
archetypes/default.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
title: "{{ replace .Name "-" " " | title }}"
|
||||||
|
date: {{ .Date }}
|
||||||
|
draft: true
|
||||||
|
---
|
||||||
|
|
4
build.sh
4
build.sh
|
@ -1,4 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
find src -type d -exec sh -c 'srcpath="$(realpath ${0})"; outpath=$(realpath "build${0#src}"); echo "src=$srcpath; dst=$outpath"; mkdir -p "$outpath" && cd "$srcpath" && pandoc -d "${srcpath}/defaults.pandoc" -o "${outpath}/index.html" ' {} \;
|
|
||||||
|
|
4
config.toml
Normal file
4
config.toml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
baseURL = 'http://dadada.li/'
|
||||||
|
languageCode = 'en-us'
|
||||||
|
title = 'dadada'
|
||||||
|
theme = "anubis"
|
|
@ -1,2 +1,7 @@
|
||||||
|
---
|
||||||
|
title: "dadada's Blog"
|
||||||
|
---
|
||||||
|
# dadada's Blog
|
||||||
|
|
||||||
- [Managing stripped GPG keys](gpg/)
|
- [Managing stripped GPG keys](gpg/)
|
||||||
- [My $HOME](home-layout/)
|
- [My $HOME](home-layout/)
|
|
@ -1,4 +1,8 @@
|
||||||
*2017-12-03*
|
---
|
||||||
|
title: Managing stripped GPG keys
|
||||||
|
date: 2017-12-03
|
||||||
|
---
|
||||||
|
# Managing stripped GPG keys
|
||||||
|
|
||||||
```
|
```
|
||||||
+--(master pass) +----(user pass)--+
|
+--(master pass) +----(user pass)--+
|
|
@ -1,4 +1,9 @@
|
||||||
*2018-09-03*
|
---
|
||||||
|
title: My $HOME
|
||||||
|
date: 2018-09-03
|
||||||
|
---
|
||||||
|
|
||||||
|
# My $HOME
|
||||||
|
|
||||||
Recently, I came across a blog posting titled "[$HOME, sweet $HOME](https://morr.cc/home-sweet-home/)", where [@blinry](https://morr.cc/) advocates for structuring your `$HOME` directory based on projects and their activity.
|
Recently, I came across a blog posting titled "[$HOME, sweet $HOME](https://morr.cc/home-sweet-home/)", where [@blinry](https://morr.cc/) advocates for structuring your `$HOME` directory based on projects and their activity.
|
||||||
After reading this I felt inspired to finally have a look at the mess I made of my `$HOME` in the last years.
|
After reading this I felt inspired to finally have a look at the mess I made of my `$HOME` in the last years.
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
|
@ -1,3 +1,8 @@
|
||||||
|
---
|
||||||
|
title: dadada's projects
|
||||||
|
---
|
||||||
|
# dadada's projects
|
||||||
|
|
||||||
See also my [GitHub](https://github.com/dadada) and [Gitlab](https://gitlab.com/dadada_).
|
See also my [GitHub](https://github.com/dadada) and [Gitlab](https://gitlab.com/dadada_).
|
||||||
|
|
||||||
## Contributions
|
## Contributions
|
|
@ -1 +1,5 @@
|
||||||
|
---
|
||||||
|
title: Talks
|
||||||
|
---
|
||||||
|
# Talks
|
||||||
- [systemd.generator(7)](systemd.generator/)
|
- [systemd.generator(7)](systemd.generator/)
|
|
@ -1,4 +1,8 @@
|
||||||
*2019-03-14*
|
---
|
||||||
|
title: systemd.generator(7)
|
||||||
|
data: 2019-03-14
|
||||||
|
---
|
||||||
|
# systemd.generator(7)
|
||||||
|
|
||||||
[Recording](https://www.youtube.com/watch?v=X88zHJjodFw)
|
[Recording](https://www.youtube.com/watch?v=X88zHJjodFw)
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
defaults:
|
|
||||||
- ../defaults.pandoc
|
|
||||||
input-files:
|
|
||||||
- index.md
|
|
||||||
template: ../template.html
|
|
||||||
|
|
||||||
metadata:
|
|
||||||
title: dadada's Blog
|
|
|
@ -1,3 +0,0 @@
|
||||||
defaults: ../../defaults.pandoc
|
|
||||||
metadata:
|
|
||||||
title: Managing stripped GPG keys
|
|
|
@ -1,3 +0,0 @@
|
||||||
defaults: ../../defaults.pandoc
|
|
||||||
metadata:
|
|
||||||
title: My $HOME
|
|
|
@ -1,13 +0,0 @@
|
||||||
# Fallbacks
|
|
||||||
|
|
||||||
from: markdown
|
|
||||||
to: html5
|
|
||||||
|
|
||||||
input-files:
|
|
||||||
- index.md
|
|
||||||
|
|
||||||
standalone: true
|
|
||||||
metadata:
|
|
||||||
author:
|
|
||||||
- dadada
|
|
||||||
title: dadada
|
|
|
@ -1,8 +0,0 @@
|
||||||
defaults:
|
|
||||||
- ../defaults.pandoc
|
|
||||||
input-files:
|
|
||||||
- index.md
|
|
||||||
template: ../template.html
|
|
||||||
|
|
||||||
metadata:
|
|
||||||
title: dadada's projects
|
|
|
@ -1,8 +0,0 @@
|
||||||
defaults:
|
|
||||||
- ../defaults.pandoc
|
|
||||||
input-files:
|
|
||||||
- index.md
|
|
||||||
template: ../template.html
|
|
||||||
|
|
||||||
metadata:
|
|
||||||
title: dadada's Talks
|
|
|
@ -1,3 +0,0 @@
|
||||||
defaults: ../../defaults.pandoc
|
|
||||||
metadata:
|
|
||||||
title: systemd.generator(7)
|
|
|
@ -1,14 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<meta name="author" content="dadada" />
|
|
||||||
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
$if(title)$
|
|
||||||
<h1>$title$</h1>
|
|
||||||
$endif$
|
|
||||||
$body$
|
|
||||||
</body>
|
|
||||||
</html>
|
|
1
themes/anubis
Submodule
1
themes/anubis
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit fe617fe6f9d956a8e7cd5a7069840481d17f8c82
|
Loading…
Add table
Add a link
Reference in a new issue