From 5784e1ab51faa71834338b6e733b9aad4e6f46eb Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Sat, 25 Sep 2021 21:29:43 +0200 Subject: added minimal landing page --- .gitignore | 2 + archetypes/default.md | 6 +++ config.toml | 130 ++++++++++++++++++++++++++++++++++++++++++++++++++ content/about.md | 4 ++ content/post/test.md | 5 ++ static/img/author.jpg | Bin 0 -> 395926 bytes 6 files changed, 147 insertions(+) create mode 100644 .gitignore create mode 100644 archetypes/default.md create mode 100644 config.toml create mode 100644 content/about.md create mode 100644 content/post/test.md create mode 100644 static/img/author.jpg 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. Some rights reserved." + 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 Binary files /dev/null and b/static/img/author.jpg differ -- cgit v1.2.3