From 3857effff6ab3d9114a2f7cf944bb2472c2efa8f Mon Sep 17 00:00:00 2001 From: OCram85 Date: Wed, 22 Dec 2021 14:23:07 +0100 Subject: [PATCH] start hugo site with congo theme --- .gitmodules | 4 +++ archetypes/default.md | 6 ++++ config/_default/config.toml | 58 +++++++++++++++++++++++++++++++++++++ config/_default/markup.toml | 9 ++++++ config/_default/menus.toml | 36 +++++++++++++++++++++++ config/_default/params.toml | 54 ++++++++++++++++++++++++++++++++++ themes/congo | 1 + 7 files changed, 168 insertions(+) create mode 100644 .gitmodules create mode 100644 archetypes/default.md create mode 100644 config/_default/config.toml create mode 100644 config/_default/markup.toml create mode 100644 config/_default/menus.toml create mode 100644 config/_default/params.toml create mode 160000 themes/congo diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..8e74c79 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,4 @@ +[submodule "themes/congo"] + path = themes/congo + url = https://github.com/jpanther/congo.git + branch = stable 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/_default/config.toml b/config/_default/config.toml new file mode 100644 index 0000000..dc61669 --- /dev/null +++ b/config/_default/config.toml @@ -0,0 +1,58 @@ +# -- Site Configuration -- +# Refer to the theme docs for more details about each of these parameters. +# https://jpanther.github.io/congo/docs/getting-started/ + +# baseURL = "https://your_domain.com/" +languageCode = "en" +defaultContentLanguage = "en" + +title = "Congo" +# copyright = "Copy, _right?_ :thinking_face:" + +enableEmoji = true +enableRobotsTXT = true + +summaryLength = 0 + +[author] + # name = "Your name here" + # image = "img/author.jpg" + # bio = "A little bit about you" + # links = [ + # { email = "mailto:hello@your_domain.com" }, + # { link = "https://link-to-some-website.com/" }, + # { amazon = "https://www.amazon.com/hz/wishlist/ls/wishlist-id" }, + # { apple = "https://www.apple.com" }, + # { codepen = "https://codepen.io/username" }, + # { dev = "https://dev.to/username" }, + # { discord = "https://discord.gg/invitecode" }, + # { dribbble = "https://dribbble.com/username" }, + # { facebook = "https://facebook.com/username" }, + # { flickr = "https://www.flickr.com/photos/username/" }, + # { foursquare = "https://foursquare.com/username" }, + # { github = "https://github.com/username" }, + # { gitlab = "https://gitlab.com/username" }, + # { google = "https://www.google.com/" }, + # { instagram = "https://instagram.com/username" }, + # { keybase = "https://keybase.io/username" }, + # { kickstarter = "https://www.kickstarter.com/profile/username" }, + # { lastfm = "https://lastfm.com/user/username" }, + # { linkedin = "https://linkedin.com/in/username" }, + # { mastodon = "https://mastodon.instance/@username" }, + # { medium = "https://medium.com/username" }, + # { microsoft = "https://www.microsoft.com/" }, + # { patreon = "https://www.patreon.com/username" }, + # { pinterest = "https://pinterest.com/username" }, + # { reddit = "https://reddit.com/user/username" }, + # { slack = "https://workspace.url/team/userid" }, + # { snapchat = "https://snapchat.com/add/username" }, + # { soundcloud = "https://soundcloud.com/username" }, + # { steam = "https://steamcommunity.com/profiles/userid" }, + # { telegram = "https://t.me/username" }, + # { tiktok = "https://tiktok.com/@username" }, + # { tumblr = "https://username.tumblr.com" }, + # { twitch = "https://twitch.tv/username" }, + # { twitter = "https://twitter.com/username" }, + # { whatsapp = "https://wa.me/phone-number" }, + # { youtube = "https://youtube.com/username" }, + # ] diff --git a/config/_default/markup.toml b/config/_default/markup.toml new file mode 100644 index 0000000..2ca49b3 --- /dev/null +++ b/config/_default/markup.toml @@ -0,0 +1,9 @@ +# -- Markup -- +# These settings are required for the theme to function. + +[goldmark] +[goldmark.renderer] + unsafe = true + +[highlight] + noClasses = false diff --git a/config/_default/menus.toml b/config/_default/menus.toml new file mode 100644 index 0000000..1629821 --- /dev/null +++ b/config/_default/menus.toml @@ -0,0 +1,36 @@ +# -- Main Menu -- +# The main menu is displayed in the header at the top of the page. +# Acceptable parameters are name, pageRef, page, url, title, weight. +# +# The simplest menu configuration is to provide: +# name = The name to be displayed for this menu link +# pageRef = The identifier of the page or section to link to +# +# By default the menu is ordered alphabetically. This can be +# overridden by providing a weight value. The menu will then be +# ordered by weight from lowest to highest. + +[[main]] + name = "Blog" + pageRef = "posts" + weight = 10 + +[[main]] + name = "Categories" + pageRef = "categories" + weight = 20 + +[[main]] + name = "Tags" + pageRef = "tags" + weight = 30 + + +# -- Footer Menu -- +# The footer menu is displayed at the bottom of the page, just before +# the copyright notice. Configure as per the main menu above. + +# [[footer]] +# name = "Tags" +# pageRef = "tags" +# weight = 10 diff --git a/config/_default/params.toml b/config/_default/params.toml new file mode 100644 index 0000000..6d01524 --- /dev/null +++ b/config/_default/params.toml @@ -0,0 +1,54 @@ +# -- Theme Options -- +# These options control how the theme functions and allow you to +# customise the display of your website. +# +# Refer to the theme docs for more details about each of these parameters. +# https://jpanther.github.io/congo/docs/configuration/#theme-parameters + +colorScheme = "congo" +# darkMode = "auto" +# darkToggle = false +# logo = "img/logo.jpg" +# description = "My awesome website" +# mainSections = ["section1", "section2"] +# robots = "" + +[homepage] + layout = "page" # valid options: page, profile, custom + showRecent = false + +[article] + showDate = true + dateFormat = "2 January 2006" + showAuthor = true + showBreadcrumbs = false + showDraftLabel = true + showEdit = false + # editURL = "https://github.com/username/repo/" + editAppendPath = true + showHeadingAnchors = true + showPagination = true + showReadingTime = true + showWordCount = false + # sharingLinks = ["facebook", "twitter", "pinterest", "reddit", "linkedin", "email"] + +[list] + showBreadcrumbs = false + showSummary = false + groupByYear = true + +[taxonomy] + showTermCount = true + +[sitemap] + excludedKinds = ["taxonomy", "term"] + +[fathomAnalytics] + # site = "ABC12345" + # domain = "llama.yoursite.com" + +[verification] + # google = "" + # bing = "" + # pinterest = "" + # yandex = "" diff --git a/themes/congo b/themes/congo new file mode 160000 index 0000000..13aad07 --- /dev/null +++ b/themes/congo @@ -0,0 +1 @@ +Subproject commit 13aad07d91ed0f7c79eaacc8c9ad603968f499fe