diff options
author | Bruno Grossniklaus <grossnik@kes> | 2018-05-09 23:55:31 +0300 |
---|---|---|
committer | Bruno Grossniklaus <grossnik@kes> | 2018-05-09 23:55:31 +0300 |
commit | b2fe84b6b1311782c7dbe78413e6e9b8f87d8f89 (patch) | |
tree | 9287569ff089aba33a1ad3b513f78b946025b0a5 /exampleSite | |
parent | fb6e5e079a58ccec71fea3dbda404b6280f28eeb (diff) |
perpare theme update
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/.config.w3css-basic-exampleSite.toml | 67 | ||||
-rw-r--r-- | exampleSite/config.toml | 62 |
2 files changed, 70 insertions, 59 deletions
diff --git a/exampleSite/.config.w3css-basic-exampleSite.toml b/exampleSite/.config.w3css-basic-exampleSite.toml index 31a86de..8ec65d0 100644 --- a/exampleSite/.config.w3css-basic-exampleSite.toml +++ b/exampleSite/.config.w3css-basic-exampleSite.toml @@ -91,6 +91,7 @@ quality = 75 # Valid values are Smart, Center, TopLeft, Top, TopRight, Left, Right, BottomLeft, Bottom, BottomRight anchor = "smart" + # ################################################## # Theme-defined configuration @@ -142,8 +143,8 @@ anchor = "smart" [[menu.main]] weight = 1 name = "About" - url = "/categories/this-theme/" - #url = "/pages/hugo-theme-w3css-basic/" + #url = "/categories/this-theme/" + url = "/pages/hugo-theme-w3css-basic/" pre = "fas fa-info fa-fw" parent = "theme" @@ -449,6 +450,7 @@ consectetuer adipiscing # w3-white # w3-yellow + # google stuff # ############################## @@ -529,7 +531,7 @@ consectetuer adipiscing # flags used for tracing and html comment output # currently used: # html-comment enable partials html comment output - # debug-shortcodes enable all shortcodes debugging outpt + # debug-shortcodes enable all shortcodes debugging output # debug-shortcode-liti enable all shortcode liti debugging output #traceFlags = "html-comment:debug-shortcodes" #traceFlags = "html-comment:debug-shortcode-res-figure" @@ -554,6 +556,7 @@ consectetuer adipiscing custom_js_top = [ ] custom_js_bottom = [ ] + # developer stuff debug = false uglyURLs = false @@ -602,7 +605,7 @@ consectetuer adipiscing [params.marquee] - # enable or disable marquee + # enable or disable marquee on frontpage enable = true #enable = false marquee = ''' @@ -613,7 +616,7 @@ et justo duo dolores et ea rebum. Stet clita *kasd gubergren*, no sea [params.menuConfig] # used in layouts/partials/header.nav.html # if set => change menu entry on small displays to lowercase maxChars - smallDispMenuMaxChars = 3 + smallDispMenuMaxChars = 4 #smallDispMenuMaxChars = 2 [params.menuTopBar] @@ -743,7 +746,7 @@ ultricies eget, tempor sit amet, ante # tagsText = [ "html", "body" ] tagsText = [ "html", "body", "abbr", "address", "blockquote", "cite", "dfn", "em", "ins", "mark", "s", "time" ] tagsHeading = [ "h1", "h2", "h3", "h4", "h5", "h6" ] - tagsMono = [ "pre", "code", "kbd", "samp" ] + tagsMono = [ "pre", "code", "kbd", "samp", "data" ] # these parameter sections must exist, the others are optional fallbackText = "html" @@ -754,19 +757,24 @@ ultricies eget, tempor sit amet, ante # serif, sans-serif or even cursive #sans-serif = "Oswald" #sans-serif = "Capriola" + #sans-serif = "Poppins" + #sans-serif = "Ubuntu" sans-serif = "Open Sans" [params.googleApiFonts.family.time] # the html tag time using it's own font. shortcodes html-tag*.html may be useful... - cursive = "Creepster" + cursive = "Creepster" [params.googleApiFonts.family.h1] # serif, sans-serif or even cursive + #sans-serif = "Days One" serif = "Kurale" [params.googleApiFonts.family.pre] # monospace or sans-serif monospace = "Oxygen Mono" + #monospace = "Cousine" + #monospace = "Ubuntu Mono" # a random list of google api fonts: # sans-serif = "Capriola" @@ -787,6 +795,7 @@ ultricies eget, tempor sit amet, ante # serif = "Roboto Slab" # # monospace = "Cousine" + # monospace = "Nova Mono" # monospace = "Oxygen Mono" # monospace = "Roboto Mono" # monospace = "Space Mono" # problem with /> @@ -796,14 +805,13 @@ ultricies eget, tempor sit amet, ante # cursive = "Carter One" # cursive = "Courgette" # cursive = "Creepster" + # cursive = "Nova Slim" # cursive = "Parisienne" # cursive = "Patrick Hand" # cursive = "Rammetto One" # cursive = "Rochester" # cursive = "Romanesco" -# ################################################## -# other sections [params.gallery] # used in layouts/shortcodes/heg-gallery.html @@ -812,33 +820,36 @@ ultricies eget, tempor sit amet, ante [params.resources] - # used in layouts/shortcodes/res-figure.html - defaultImageCommand = "Resize" - defaultImageOptions = "300x" - defaultImageCaption = "%%N" - + # used in layouts/shortcodes/res-figure.html + defaultImageCommand = "Resize" + defaultImageOptions = "300x" + defaultImageCaption = "%%N" [params.resGallery] - # used in layouts/shortcodes/res-gallery.html - defaultResPagePath = "resources/images" - defaultMatch = "**/*" - defaulImgCmd = "Resize" - defaulImgCmdOpt = "800x" - defaulThumbCmd = "Fit" - defaultThumbCmdOpt = "120x120" - defaultCaptionLong = "%%F" - defaultCaptionShort = "%%N" - - #defaulThumbCmd = "Resize" - #defaultThumbCmdOpt = "100x100" - #defaulThumbCmd = "Fill" - #defaultThumbCmdOpt = "120x120" + # used in layouts/shortcodes/res-gallery.html + defaultResPagePath = "resources/images" + defaultMatch = "**/*" + defaulImgCmd = "Resize" + defaulImgCmdOpt = "800x" + defaulThumbCmd = "Fit" + defaultThumbCmdOpt = "120x120" + defaultCaptionLong = "%%F" + defaultCaptionShort = "%%N" + + #defaulThumbCmd = "Resize" + #defaultThumbCmdOpt = "100x100" + #defaulThumbCmd = "Fill" + #defaultThumbCmdOpt = "120x120" [params.options] jsHistoryNav = true +# ################################################## +# other sections + + [blackfriday] # extensions = ["noEmptyLineBeforeBlock"] # extensions = ["hardLineBreak"] diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 10198f2..e323a44 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -139,6 +139,7 @@ anchor = "smart" [[menu.main]] weight = 1 name = "About" + #url = "/categories/this-theme/" url = "/pages/hugo-theme-w3css-basic/" pre = "fas fa-info fa-fw" parent = "theme" @@ -233,18 +234,18 @@ Nam vestibulum accumsan nisl. ''' address = ''' -**nobis eleifend** -**Soluta nobis eleifend** -illum dolore eu feugiat -3612 Steffisburg -consectetuer adipiscing +**nobis eleifend** +**Soluta nobis eleifend** +illum dolore eu feugiat +3612 Steffisburg +consectetuer adipiscing **Switzerland** ''' # used in layouts/partials/footer.bottom.html bottomLeft = "Copyright (c) 2018, *lobortis nisl* ut aliquip ex ea commodo consequat" - bottomRight = 'created with [Hugo](https://gohugo.io)' + bottomRight = 'created with [Hugo](https://gohugo.io) ' # colors @@ -499,7 +500,7 @@ consectetuer adipiscing # used in partials/blog.disqus-button.html # set to false if you dont want to have a button "show comments", but show the comments right away - disqusButtonShow = false + disqusButtonShow = false # set to true, if you want to show the count of comments within the "show comments" button # fires an async request to disqus.com/count.js disqusButtonShowCount = false @@ -522,10 +523,9 @@ consectetuer adipiscing # debug-shortcodes enable all shortcodes debugging output # debug-shortcode-liti enable all shortcode liti debugging output #traceFlags = "html-comment:debug-shortcodes" - #traceFlags = "html-comment:debug-shortcode-res-debug:debug-partial-resource.image" + #traceFlags = "html-comment:debug-shortcode-res-figure" traceFlags = "html-comment" - # custom css and custom js # this theme comes with the following "empty" files # static/css/custom.css @@ -762,7 +762,7 @@ ultricies eget, tempor sit amet, ante #monospace = "Cousine" monospace = "Ubuntu Mono" - # for starters ... + # a random list of google api fonts: # sans-serif = "Capriola" # sans-serif = "Days One" # sans-serif = "Open Sans" @@ -784,7 +784,7 @@ ultricies eget, tempor sit amet, ante # monospace = "Nova Mono" # monospace = "Oxygen Mono" # monospace = "Roboto Mono" - # monospace = "Space Mono" + # monospace = "Space Mono" # problem with /> # monospace = "Ubuntu Mono" # # cursive = "Caesar Dressing" @@ -804,28 +804,28 @@ ultricies eget, tempor sit amet, ante # showFileExtension = true # humanizeCaption = false -[params.resGallery] - # used in layouts/shortcodes/res-gallery.html - defaultResPagePath = "resources/images" - defaultMatch = "**/*" - defaulImgCmd = "Resize" - defaulImgCmdOpt = "800x" - defaulThumbCmd = "Fit" - defaultThumbCmdOpt = "120x120" - defaultCaptionLong = "%%F" - defaultCaptionShort = "%%N" - - #defaulThumbCmd = "Resize" - #defaultThumbCmdOpt = "100x100" - #defaulThumbCmd = "Fill" - #defaultThumbCmdOpt = "120x120" - [params.resources] - # used in layouts/shortcodes/res-figure.html - defaultImageCommand = "Resize" - defaultImageOptions = "300x" - defaultImageCaption = "%%N" + # used in layouts/shortcodes/res-figure.html + defaultImageCommand = "Resize" + defaultImageOptions = "300x" + defaultImageCaption = "%%N" + +[params.resGallery] + # used in layouts/shortcodes/res-gallery.html + defaultResPagePath = "resources/images" + defaultMatch = "**/*" + defaulImgCmd = "Resize" + defaulImgCmdOpt = "800x" + defaulThumbCmd = "Fit" + defaultThumbCmdOpt = "120x120" + defaultCaptionLong = "%%F" + defaultCaptionShort = "%%N" + + #defaulThumbCmd = "Resize" + #defaultThumbCmdOpt = "100x100" + #defaulThumbCmd = "Fill" + #defaultThumbCmdOpt = "120x120" [params.options] |