aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--archetypes/default.md6
-rw-r--r--config.toml130
-rw-r--r--content/about.md4
-rw-r--r--content/post/test.md5
-rw-r--r--static/img/author.jpgbin0 -> 395926 bytes
6 files changed, 147 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..3eec6c0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+resources
+public
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..4249af4
--- /dev/null
+++ b/config.toml
@@ -0,0 +1,130 @@
+baseurl = "https://www.rgdd.se"
+title = "rgdd"
+languageCode = "en-us"
+paginate = "10" # Number of posts per page
+#-------------------------------------------------------------------------------
+# DEFAULT SETTINGS
+#-------------------------------------------------------------------------------
+
+# Default Theme
+theme= "gruvhugo"
+
+# Default Post Extension
+defaultExtension= "html"
+
+# Default metadata format for newly created frontmatter using
+# hugo new command. "toml", "yaml", or "json"
+metaDataFormat= "toml"
+
+[taxonomies]
+ tag = "tags"
+ category = "categories"
+ series = "series"
+
+[params.main]
+ enabled = true
+ enableKatex = true
+ metaKeywords = "Rasmus Dahlberg, rgdd"
+ headerTitle = "rgdd"
+ copyright = "© 2021 Rasmus Dahlberg. <a href=\"https://creativecommons.org/licenses/by/4.0/\">Some rights reserved</a>."
+ name = "Rasmus Dahlberg"
+ img = "img/author.jpg"
+ img_title = "Rasmus Dahlberg and his cat Cece in a forest."
+ quote = "Long-term sustainability requires a sound work-life balance"
+ description= "PhD student at Karlstad University, Sweden. Software engineer at Mullvad VPN. I am passitionate about transparent logs, anonymity networks, and Linux. Off-work I cook, walk, socialize, lift weights, and spoil my cat."
+ licenseUrl = ""
+
+ # Social icons
+ [[params.social]]
+ name = "instagram"
+ url = "https://www.instagram.com/__rgdd"
+
+ [[params.social]]
+ name = "twitter"
+ url = "https://twitter.com/__rgdd"
+
+ [[params.social]]
+ name = "github"
+ url = "https://github.com/rgdd"
+
+ [[params.social]]
+ name = "email"
+ url = "mailto:rasmus@mullvad.net"
+
+[params.style]
+ # add path to custom CSS files here
+ custom_css = []
+ # add path to custom SCSS files here
+ custom_scss = []
+
+[menu]
+ #[[menu.main]]
+ # identifier = "about"
+ # name = "About"
+ # url = "about"
+
+ #[[menu.main]]
+ # identifier = "posts"
+ # name = "Posts"
+ # url = "post/"
+
+[markup]
+ defaultMarkdownHandler = "goldmark"
+ [markup.asciidocExt]
+ backend = "html5"
+ docType = "article"
+ extensions = []
+ failureLevel = "fatal"
+ noHeaderOrFooter = true
+ safeMode = "unsafe"
+ sectionNumbers = false
+ trace = false
+ verbose = true
+ workingFolderCurrent = false
+ [markup.asciidocExt.attributes]
+ [markup.blackFriday]
+ angledQuotes = false
+ footnoteAnchorPrefix = ""
+ footnoteReturnLinkContents = ""
+ fractions = true
+ hrefTargetBlank = false
+ latexDashes = true
+ nofollowLinks = false
+ noreferrerLinks = false
+ plainIDAnchors = true
+ skipHTML = false
+ smartDashes = true
+ smartypants = true
+ smartypantsQuotesNBSP = false
+ taskLists = true
+ [markup.goldmark]
+ [markup.goldmark.extensions]
+ definitionList = true
+ footnote = true
+ linkify = true
+ strikethrough = true
+ table = true
+ taskList = true
+ typographer = true
+ [markup.goldmark.parser]
+ attribute = true
+ autoHeadingID = true
+ autoHeadingIDType = "github"
+ [markup.goldmark.renderer]
+ hardWraps = false
+ unsafe = false
+ xhtml = false
+ [markup.highlight]
+ codeFences = true
+ guessSyntax = false
+ hl_Lines = ""
+ lineNoStart = 1
+ lineNos = false
+ lineNumbersInTable = true
+ noClasses = true
+ style = "monokai"
+ tabWidth = 4
+ [markup.tableOfContents]
+ endLevel = 3
+ ordered = false
+ startLevel = 2
diff --git a/content/about.md b/content/about.md
new file mode 100644
index 0000000..62fd360
--- /dev/null
+++ b/content/about.md
@@ -0,0 +1,4 @@
+---
+title: "About"
+---
+TODO: docdoc.
diff --git a/content/post/test.md b/content/post/test.md
new file mode 100644
index 0000000..9e9e988
--- /dev/null
+++ b/content/post/test.md
@@ -0,0 +1,5 @@
+---
+title: "Test"
+date: 2021-09-25T21:17:26+02:00
+---
+TODO: docdoc.
diff --git a/static/img/author.jpg b/static/img/author.jpg
new file mode 100644
index 0000000..3fbf89a
--- /dev/null
+++ b/static/img/author.jpg
Binary files differ