mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-07 00:58:13 +00:00
Add themes in-tree
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
noJSConfigInAssets = true
|
||||
writeStats = true
|
@@ -0,0 +1,150 @@
|
||||
baseURL = "http://localhost"
|
||||
copyright = "Copyright © 2021"
|
||||
title = "hugo-theme-gruvbox"
|
||||
#paginate = 10
|
||||
enableRobotsTXT = true
|
||||
# Enable to calculate the last modified date from Git history and show it in the post header
|
||||
#enableGitInfo = true
|
||||
|
||||
[markup]
|
||||
[markup.goldmark]
|
||||
[markup.goldmark.renderer]
|
||||
# This setting allows inlining <script> and <style> tags in markdown,
|
||||
# which is useful and required to use Prism plugins, but may be dangerous
|
||||
# if the content isn't trustworthy.
|
||||
unsafe = true
|
||||
|
||||
[imaging]
|
||||
# JPEG and WebP image processing quality, defaults to 75%
|
||||
#quality = 75
|
||||
|
||||
[params]
|
||||
# dark or light, defaults to light. Local storage and OS preference override this param. For more details see:
|
||||
# https://github.com/schnerring/hugo-theme-gruvbox/issues/34#issuecomment-1235870375
|
||||
#defaultTheme = "light"
|
||||
# gray red green yellow blue purple aqua orange, defaults to blue
|
||||
#themeColor = "blue"
|
||||
# soft medium hard, defaults to medium
|
||||
#themeContrast = "medium"
|
||||
author = "Michael Schnerring"
|
||||
subtitle = "Theme Demo"
|
||||
description = "A retro-looking Hugo theme inspired by gruvbox. The pastel colors are high contrast, easily distinguishable, pleasing to the eye, and feature light and dark color palettes."
|
||||
|
||||
[params.logo]
|
||||
text = "gruvbox"
|
||||
url = "/"
|
||||
|
||||
[params.prism]
|
||||
languages = [
|
||||
"markup",
|
||||
"css",
|
||||
"clike",
|
||||
"javascript",
|
||||
"bash",
|
||||
"diff",
|
||||
"toml"
|
||||
]
|
||||
plugins = [
|
||||
"normalize-whitespace",
|
||||
"toolbar",
|
||||
"copy-to-clipboard",
|
||||
"line-numbers",
|
||||
"command-line",
|
||||
"diff-highlight"
|
||||
]
|
||||
|
||||
# By default, the theme creates resized versions of images ranging from 300 to
|
||||
# 700 pixels wide in increments of 200 pixels
|
||||
#[params.imageResize]
|
||||
# min = 300
|
||||
# max = 700
|
||||
# increment = 200
|
||||
|
||||
[params.tagCloud]
|
||||
enable = false
|
||||
minFontSizeRem = 0.8
|
||||
maxFontSizeRem = 2.0
|
||||
|
||||
# Social share links for posts:
|
||||
# - iconSuite: "simple-icon" or "tabler-icon"
|
||||
# - iconName: name of the icon from the "iconSuite"
|
||||
# - {url} placeholder for post .Permalink
|
||||
# - {title} placeholder for post .Title
|
||||
# See https://github.com/bradvin/social-share-urls for more format strings
|
||||
[[params.socialShare]]
|
||||
iconSuite = "simple-icon"
|
||||
iconName = "facebook"
|
||||
formatString = "https://www.facebook.com/sharer.php?u={url}"
|
||||
[[params.socialShare]]
|
||||
iconSuite = "simple-icon"
|
||||
iconName = "reddit"
|
||||
formatString = "https://reddit.com/submit?url={url}&title={title}"
|
||||
[[params.socialShare]]
|
||||
iconSuite = "simple-icon"
|
||||
iconName = "twitter"
|
||||
formatString = "https://twitter.com/intent/tweet?url={url}&text={title}"
|
||||
[[params.socialShare]]
|
||||
iconSuite = "simple-icon"
|
||||
iconName = "linkedin"
|
||||
formatString = "https://www.linkedin.com/sharing/share-offsite/?url={url}"
|
||||
[[params.socialShare]]
|
||||
iconSuite = "simple-icon"
|
||||
iconName = "whatsapp"
|
||||
formatString = "whatsapp://send/?text={title}%20{url}"
|
||||
[[params.socialShare]]
|
||||
iconSuite = "simple-icon"
|
||||
iconName = "tumblr"
|
||||
formatString = "https://www.tumblr.com/widgets/share/tool?canonicalUrl={url}&title={title}&caption={title}"
|
||||
[[params.socialShare]]
|
||||
iconSuite = "simple-icon"
|
||||
iconName = "pinterest"
|
||||
formatString = "http://pinterest.com/pin/create/button/?url={url}"
|
||||
[[params.socialShare]]
|
||||
iconSuite = "simple-icon"
|
||||
iconName = "ycombinator"
|
||||
formatString = "https://news.ycombinator.com/submitlink?u={url}&t={title}"
|
||||
[[params.socialShare]]
|
||||
iconSuite = "simple-icon"
|
||||
iconName = "vk"
|
||||
formatString = "http://vk.com/share.php?url={url}&title={title}&comment={title}"
|
||||
[[params.socialShare]]
|
||||
iconSuite = "simple-icon"
|
||||
iconName = "xing"
|
||||
formatString = "https://www.xing.com/spi/shares/new?url={url}"
|
||||
[[params.socialShare]]
|
||||
iconSuite = "simple-icon"
|
||||
iconName = "telegram"
|
||||
formatString = "https://telegram.me/share/url?url={url}&text={title}"
|
||||
[[params.socialShare]]
|
||||
iconSuite = "tabler-icon"
|
||||
iconName = "mail"
|
||||
formatString = "mailto:?subject={title}&body={url}"
|
||||
|
||||
[menu]
|
||||
[[menu.main]]
|
||||
identifier = "blog"
|
||||
name = "Blog"
|
||||
url = "/blog"
|
||||
weight = 10
|
||||
[[menu.main]]
|
||||
identifier = "cv"
|
||||
name = "CV"
|
||||
url = "/cv"
|
||||
weight = 20
|
||||
[[menu.main]]
|
||||
identifier = "about"
|
||||
name = "About"
|
||||
url = "/about"
|
||||
weight = 30
|
||||
|
||||
[languages]
|
||||
[languages.en]
|
||||
languageName = "English"
|
||||
weight = 10
|
||||
[languages.en.params.jsonResume]
|
||||
present = "present"
|
||||
[languages.de]
|
||||
languageName = "Deutsch"
|
||||
weight = 20
|
||||
[languages.de.params.jsonResume]
|
||||
present = "heute"
|
@@ -0,0 +1,44 @@
|
||||
# Module debugging
|
||||
#replacements = "github.com/schnerring/hugo-mod-json-resume -> ../../hugo-mod-json-resume"
|
||||
[hugoVersion]
|
||||
extended = true
|
||||
min = "0.84.0"
|
||||
[[imports]]
|
||||
path = "github.com/schnerring/hugo-mod-json-resume"
|
||||
[[imports.mounts]]
|
||||
source = "data"
|
||||
target = "data"
|
||||
[[imports.mounts]]
|
||||
source = "layouts"
|
||||
target = "layouts"
|
||||
[[imports.mounts]]
|
||||
source = "assets/css/json-resume.css"
|
||||
target = "assets/css/critical/44-json-resume.css"
|
||||
[[mounts]]
|
||||
# required by hugo-mod-json-resume
|
||||
source = "node_modules/simple-icons/icons"
|
||||
target = "assets/simple-icons"
|
||||
[[mounts]]
|
||||
source = "assets"
|
||||
target = "assets"
|
||||
[[mounts]]
|
||||
source = "layouts"
|
||||
target = "layouts"
|
||||
[[mounts]]
|
||||
source = "static"
|
||||
target = "static"
|
||||
[[mounts]]
|
||||
source = "node_modules/prismjs"
|
||||
target = "assets/prismjs"
|
||||
[[mounts]]
|
||||
source = "node_modules/prism-themes/themes"
|
||||
target = "assets/prism-themes"
|
||||
[[mounts]]
|
||||
source = "node_modules/typeface-fira-code/files"
|
||||
target = "static/fonts"
|
||||
[[mounts]]
|
||||
source = "node_modules/typeface-roboto-slab/files"
|
||||
target = "static/fonts"
|
||||
[[mounts]]
|
||||
source = "node_modules/@tabler/icons/icons"
|
||||
target = "assets/tabler-icons"
|
@@ -0,0 +1,3 @@
|
||||
category = "categories"
|
||||
tag = "tags"
|
||||
series = "series"
|
@@ -0,0 +1 @@
|
||||
baseURL = "https://hugo-theme-gruvbox.schnerring.net"
|
Reference in New Issue
Block a user