mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-12-28 13:04:29 +01:00
107 lines
3.3 KiB
TOML
107 lines
3.3 KiB
TOML
# Hugo variables
|
|
#
|
|
baseurl = "https://example.org/"
|
|
languageCode = "en-us"
|
|
title = "Hugo Bootstrap v4 Blog"
|
|
themesDir = "../.."
|
|
theme = "hugo-theme-bootstrap4-blog"
|
|
# number of posts to show on home/category/tag pages (Default: 10)
|
|
paginate = 5
|
|
# number of words to use for summary on home/category/tag pages (Default: 70)
|
|
summaryLength = 50
|
|
# optionally override the site's footer with custom copyright text
|
|
# copyright = "Except where otherwise noted, content on this site is licensed under a [Creative Commons Attribution 4.0 International license](https://creativecommons.org/licenses/by-sa/4.0/)."
|
|
#googleAnalytics = "UA-123-45"
|
|
#disqusShortname = "XYW"
|
|
|
|
[permalinks]
|
|
posts = "/:year/:month/:title/"
|
|
page = "/:slug/"
|
|
|
|
[[menu.sidebar]]
|
|
name = "Link 1"
|
|
url = "https://example.com"
|
|
|
|
[[menu.sidebar]]
|
|
name = "Link 2"
|
|
url = "https://example.org"
|
|
|
|
[[menu.navbar]]
|
|
name = "Link 1"
|
|
pageref = "creating-a-new-theme"
|
|
|
|
[[menu.navbar]]
|
|
name = "Sub"
|
|
identifier = "sub"
|
|
|
|
[[menu.navbar]]
|
|
name = "Link 2"
|
|
parent = "sub"
|
|
pageref = "goisforlovers"
|
|
|
|
# Theme variables
|
|
#
|
|
[params]
|
|
# Site author
|
|
author = "Your Name"
|
|
|
|
# Description/subtitle for homepage (can be Markdown)
|
|
description = "A simple Hugo theme based on the Bootstrap v4 blog example."
|
|
|
|
# Show header (default: true)
|
|
#header_visible = true
|
|
|
|
# Format dates with Go's time formatting
|
|
date_format = "Mon Jan 02, 2006"
|
|
|
|
# verification string for Google Webmaster Tools
|
|
#google_verify_meta = "BAi57DROASu4b2mkVNA_EyUsobfA7Mq8BmSg7Rn-Zp9"
|
|
|
|
# verification string for Bing Webmaster Tools
|
|
#bing_verify_meta = "3DA353059F945D1AA256B1CD8A3DA847"
|
|
|
|
# verification string for Yandex Webmaster Tools
|
|
#yandex_verify_meta = "66b077430f35f04a"
|
|
|
|
# Optionally display a message about the site's use of cookies, which may be
|
|
# required for your site in the European Union. Set the parameter below to a
|
|
# page where the user can get more information about cookies, either on your
|
|
# site or externally, for example:
|
|
#cookie_consent_info_url = "/cookie-information/"
|
|
#cookie_consent_info_url = "http://cookiesandyou.com"
|
|
|
|
# show sharing icons on pages/posts (default: true)
|
|
#sharingicons = true
|
|
|
|
# Display post summaries instead of content in list templates (default: true)
|
|
#truncate = true
|
|
|
|
# Disable the use of sub-resource integrity on CSS/JS assets (default: false)
|
|
# Useful if you're using a CDN or other host where you can't control cache headers
|
|
#disable_sri = false
|
|
|
|
[params.sidebar]
|
|
# Optional about block for sidebar (can be Markdown)
|
|
about = "A simple Hugo theme based on the [Bootstrap v4 blog example](http://v4-alpha.getbootstrap.com/examples/blog/)."
|
|
|
|
# How many posts to show on the sidebar (Default: 5)
|
|
#num_recent_posts = 2
|
|
|
|
[params.social]
|
|
# Optional, used for attribution in Twitter cards (ideally not a person
|
|
# for example: nytimes, flickr, NatGeo, etc).
|
|
# See: https://dev.twitter.com/cards/types/summary-large-image
|
|
twitter = "username"
|
|
|
|
# Default content language for Hugo 0.17's multilingual support (default is "en")
|
|
# See: https://github.com/spf13/hugo/blob/master/docs/content/content/multilingual.md
|
|
#DefaultContentLanguage = "en"
|
|
|
|
# Languages to render
|
|
#[languages.en]
|
|
#[languages.bg]
|
|
# Bulgarian date format is dd.mm.yyyy
|
|
#date_format = "02.01.2006"
|
|
|
|
# vim: ts=2 sw=2 et
|