start hugo site with congo theme
This commit is contained in:
parent
1670619994
commit
3857effff6
4
.gitmodules
vendored
Normal file
4
.gitmodules
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[submodule "themes/congo"]
|
||||||
|
path = themes/congo
|
||||||
|
url = https://github.com/jpanther/congo.git
|
||||||
|
branch = stable
|
6
archetypes/default.md
Normal file
6
archetypes/default.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
title: "{{ replace .Name "-" " " | title }}"
|
||||||
|
date: {{ .Date }}
|
||||||
|
draft: true
|
||||||
|
---
|
||||||
|
|
58
config/_default/config.toml
Normal file
58
config/_default/config.toml
Normal file
@ -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" },
|
||||||
|
# ]
|
9
config/_default/markup.toml
Normal file
9
config/_default/markup.toml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# -- Markup --
|
||||||
|
# These settings are required for the theme to function.
|
||||||
|
|
||||||
|
[goldmark]
|
||||||
|
[goldmark.renderer]
|
||||||
|
unsafe = true
|
||||||
|
|
||||||
|
[highlight]
|
||||||
|
noClasses = false
|
36
config/_default/menus.toml
Normal file
36
config/_default/menus.toml
Normal file
@ -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
|
54
config/_default/params.toml
Normal file
54
config/_default/params.toml
Normal file
@ -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 = ""
|
1
themes/congo
Submodule
1
themes/congo
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 13aad07d91ed0f7c79eaacc8c9ad603968f499fe
|
Loading…
Reference in New Issue
Block a user