diff --git a/.gitignore b/.gitignore index d89fa7d..33e2c4a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,10 +1,3 @@ -# ---> Hugo # Generated files by hugo /public/ /resources/_gen/ - -# Executable may be added to repository -hugo.exe -hugo.darwin -hugo.linux - diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..cf744b0 --- /dev/null +++ b/config.toml @@ -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" diff --git a/static/img/avatar.jpg b/static/img/avatar.jpg new file mode 100644 index 0000000..6cdf93f Binary files /dev/null and b/static/img/avatar.jpg differ diff --git a/static/img/favicon.ico b/static/img/favicon.ico new file mode 100644 index 0000000..79e471f Binary files /dev/null and b/static/img/favicon.ico differ