diff --git a/config.toml b/config.toml deleted file mode 100644 index 72f5bac..0000000 --- a/config.toml +++ /dev/null @@ -1,116 +0,0 @@ -baseURL = "https://www.foodogsquared.one" -languageCode = "en-us" -title = "Gabriel Arazas" -enableGitInfo = true -paginate = 40 -copyright = "© foodogsquared" -canonifyURLs = true -summaryLength = 0 -timeZone = "UTC" - -[[module.imports]] -path = "github.com/foo-dogsquared/hugo-theme-more-contentful" - -[[module.imports]] -path = "github.com/foo-dogsquared/hugo-mod-web-feeds" - -[markup.asciidocExt] -extensions = [ - "asciidoctor-foodogsquared-extensions", - "asciidoctor-tabs", - "asciidoctor-bibtex", -] -trace = true -workingFolderCurrent = true - -[markup.asciidocExt.attributes] -toc = true -sectanchors = true -"figure-caption!" = true -source-highlighter = "rouge" -allow-uri-read = true -experimental = true -linkcss = true - -# asciidoctor-bibtex -bibtex-file = "./assets/bibliography.bib" -bibtex-order = "alphabetical" -bibtex-throw = true - -# asciidoctor-tabs -tabs-sync-option = true - -[author.foo-dogsquared] -name = "Gabriel Arazas" -alias = "foo-dogsquared" -email = "foodogsquared@foodogsquared.one" - -[mediaTypes."application/atom+xml"] -suffixes = ["atom"] - -[mediaTypes."application/rss+xml"] -suffixes = ["rss"] - -[outputFormats.RSS] -mediaType = "application/rss+xml" -baseName = "index" -isPlainText = false - -[outputFormats.Atom] -mediaType = "application/atom+xml" -baseName = "index" -isPlainText = false - -[outputs] -home = ["HTML", "ATOM", "RSS", "JSON"] -section = ["HTML", "ATOM", "RSS", "JSON"] - -[menu] - [[menu.main]] - identifier = "about" - name = "About" - url = "about/" - - [[menu.main]] - identifier = "contact" - name = "Contact" - url = "contact/" - - [[menu.main]] - identifier = "posts" - name = "Posts" - url = "posts/" - - [[menu.links]] - identifer = "posts" - name = "Posts" - url = "/posts/" - - [[menu.links]] - identifier = "code" - name = "Code" - url = "https://code.foodogsquared.one/" - - [[menu.links]] - identifer = "wiki" - name = "Wiki" - url = "https://wiki.foodogsquared.one/" - - [[menu.links]] - identifer = "music" - name = "Music" - url = "https://www.youtube.com/channel/UCuMiU9bzATu5oTp-vhOlL2Q" - -[params] -mainSections = ["posts", "projects"] -toc = true -extraNotes = """ -This site uses [medium-zoom](https://github.com/francoischalifour/medium-zoom) and lots of modern CSS features for the life of me. -For analytics, it uses [GoatCounter](https://goatcounter.com/). -""" - -[security.exec] -allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$', '^asciidoctor$'] - -[security.funcs] -getenv = [ "^LAST_COMMIT_DATE$" ] diff --git a/config/_default/author.toml b/config/_default/author.toml new file mode 100644 index 0000000..f060760 --- /dev/null +++ b/config/_default/author.toml @@ -0,0 +1,4 @@ +[foo-dogsquared] +name = "Gabriel Arazas" +alias = "foo-dogsquared" +email = "foodogsquared@foodogsquared.one" diff --git a/config/_default/config.toml b/config/_default/config.toml new file mode 100644 index 0000000..f16357d --- /dev/null +++ b/config/_default/config.toml @@ -0,0 +1,49 @@ +baseURL = "https://www.foodogsquared.one" +languageCode = "en-us" +title = "Gabriel Arazas" +enableGitInfo = true +paginate = 40 +copyright = "© foodogsquared" +canonifyURLs = true +summaryLength = 0 +timeZone = "UTC" + +[params] +mainSections = ["posts", "projects"] +toc = true +extraNotes = """ +This site uses [medium-zoom](https://github.com/francoischalifour/medium-zoom) and lots of modern CSS features for the life of me. +For analytics, it uses [GoatCounter](https://goatcounter.com/). +""" + +[[module.imports]] +path = "github.com/foo-dogsquared/hugo-theme-more-contentful" + +[[module.imports]] +path = "github.com/foo-dogsquared/hugo-mod-web-feeds" + +[mediaTypes."application/atom+xml"] +suffixes = ["atom"] + +[mediaTypes."application/rss+xml"] +suffixes = ["rss"] + +[outputFormats.RSS] +mediaType = "application/rss+xml" +baseName = "index" +isPlainText = false + +[outputFormats.Atom] +mediaType = "application/atom+xml" +baseName = "index" +isPlainText = false + +[outputs] +home = ["HTML", "ATOM", "RSS", "JSON"] +section = ["HTML", "ATOM", "RSS", "JSON"] + +[security.exec] +allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$', '^asciidoctor$'] + +[security.funcs] +getenv = [ "^LAST_COMMIT_DATE$" ] diff --git a/config/_default/markup.toml b/config/_default/markup.toml new file mode 100644 index 0000000..a12f61b --- /dev/null +++ b/config/_default/markup.toml @@ -0,0 +1,25 @@ +[asciidocExt] +extensions = [ + "asciidoctor-foodogsquared-extensions", + "asciidoctor-tabs", + "asciidoctor-bibtex", +] +trace = true +workingFolderCurrent = true + +[asciidocExt.attributes] +toc = true +sectanchors = true +"figure-caption!" = true +source-highlighter = "rouge" +allow-uri-read = true +experimental = true +linkcss = true + +# asciidoctor-bibtex +bibtex-file = "./assets/bibliography.bib" +bibtex-order = "alphabetical" +bibtex-throw = true + +# asciidoctor-tabs +tabs-sync-option = true diff --git a/config/_default/menu.toml b/config/_default/menu.toml new file mode 100644 index 0000000..6cb0761 --- /dev/null +++ b/config/_default/menu.toml @@ -0,0 +1,34 @@ +[[main]] + identifier = "about" + name = "About" + url = "about/" + +[[main]] + identifier = "contact" + name = "Contact" + url = "contact/" + +[[main]] + identifier = "posts" + name = "Posts" + url = "posts/" + +[[links]] + identifer = "posts" + name = "Posts" + url = "/posts/" + +[[links]] + identifier = "code" + name = "Code" + url = "https://code.foodogsquared.one/" + +[[links]] + identifer = "wiki" + name = "Wiki" + url = "https://wiki.foodogsquared.one/" + +[[links]] + identifer = "music" + name = "Music" + url = "https://www.youtube.com/channel/UCuMiU9bzATu5oTp-vhOlL2Q"