Compare commits

..

3 Commits

9 changed files with 57 additions and 8 deletions

7
.gitignore vendored
View File

@ -1,10 +1,3 @@
# ---> Hugo
# Generated files by hugo
/public/
/resources/_gen/
# Executable may be added to repository
hugo.exe
hugo.darwin
hugo.linux

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "themes/vncnt-hugo"]
path = themes/vncnt-hugo
url = https://github.com/fncnt/vncnt-hugo

View File

@ -1,2 +1,3 @@
# johannes-rothe.de
# Deploy
Run `./deploy`.

6
archetypes/default.md Normal file
View File

@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

43
config.toml Normal file
View File

@ -0,0 +1,43 @@
baseURL = "https://johannes-rothe.de/"
# include content marked as draft
buildDrafts = false
# include content with publishdate in the future
buildFuture = false
# include content already expired
buildExpired = false
# enable this to make all relative URLs relative to content root. Note that this does not affect absolute URLs.
relativeURLs = true
disableRSS = true
enableRobotsTXT = true
editor = "vim"
languageCode = "en"
language = "en"
theme = "vncnt-hugo"
title = "Johannes Rothe"
[permalinks]
fixed = ":title/"
posts = "posts/:slug/"
[params]
author = "Johannes Rothe"
description = "Landing Page"
bio = "DevOps Engineer at Magazino"
avatar = "img/avatar.jpg"
favicon = "img/favicon.ico"
error404 = "There is no such page."
[params.contact]
github = "https://github.com/onjen"
twitter = "https://twitter.com/johannes_rothe"
[params.contact.email]
name = "email" # may be omitted. defaults to key name
icon = "envelope" # may be omitted. defaults to key name
style = "far" # may be omitted. default = "fas"
link = "mailto:mail(at)johannes-rothe.de"
[params.contact.gitea] # key names are sorted lexicographically
name = "gitea"
icon = "git-alt"
style = "fab"
link = "https://git.johannes-rothe.de/onjen"

2
deploy Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
hugo && rsync -avz --delete public/ base:/var/www/html/johannes-rothe.de/

BIN
static/img/avatar.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

BIN
static/img/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

1
themes/vncnt-hugo Submodule

@ -0,0 +1 @@
Subproject commit 4c1d20a49cbc8c463d64fcba747433b0bae1df8b