adding leaflet-hugo maps

This will hopefully allow me to create shortcode maps with osm and
leaflet rather than google.
This commit is contained in:
Chris Cochrun 2023-03-22 10:25:49 -05:00
parent 31bab3cf3b
commit 16bcf8b091
18 changed files with 2074 additions and 112 deletions

View file

@ -1,44 +0,0 @@
baseURL = 'https://new.tfcconnection.org/'
languageCode = 'en-us'
title = 'TFC Connection'
theme = "blowfish"
DefaultContentLanguage = "en"
# SectionPagesMenu = "main"
enableRobotsTXT = true
Paginate = 10 # this is set low for demonstrating with dummy content. Set to a higher number
SummaryLength = 20
buildDrafts = false
buildFuture = false
outputs.home = ["HTML", "RSS", "JSON"]
[taxonomies]
tag = "tags"
category = "categories"
author = "authors"
series = "series"
[sitemap]
changefreq = 'daily'
filename = 'sitemap.xml'
priority = 0.5
[params]
favicon = "favicon-16x16.png"
site_logo = "img/logo.png"
description = "Connecting teens with the truth of Jesus Christ… teaching and equipping them to live out the Great Commission."
# Privacy
[privacy]
[privacy.disqus]
disable = true
[privacy.googleAnalytics]
disable = true
[privacy.instagram]
[privacy.twitter]
[privacy.vimeo]
[privacy.youtube]

View file

@ -0,0 +1,56 @@
baseURL: 'https://new.tfcconnection.org/'
languageCode: en-us
title: TFC Connection
theme: blowfish
DefaultContentLanguage: en
enableRobotsTXT: true
Paginate: 10
SummaryLength: 20
buildDrafts: false
buildFuture: false
outputs:
home:
- HTML
- RSS
- JSON
taxonomies:
tag: tags
category: categories
author: authors
series: series
sitemap:
changefreq: daily
filename: sitemap.xml
priority: 0.5
params:
favicon: favicon-16x16.png
site_logo: img/logo.png
description: >-
Connecting teens with the truth of Jesus Christ… teaching and equipping them
to live out the Great Commission.
hugoLeaflet:
css:
- href: "https://unpkg.com/leaflet@1.6.0/dist/leaflet.css"
params:
integrity: "sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ=="
crossorigin: ""
- href: "https://unpkg.com/@raruto/leaflet-elevation@1.1.1/dist/leaflet-elevation.css"
- href: "css/leaflet.extra-markers.min.css"
js:
- src: "https://unpkg.com/leaflet@1.6.0/dist/leaflet.js"
params:
integrity: "sha512-gZwIG9x3wUXg2hdXF6+rVkLF/0Vi9U8D2Ntg4Ga5I5BZpVkVxlJWbSQtXPSiUTtC0TjtGOmxa1AJPuV0CPthew=="
crossorigin: ""
- src: "js/leaflet.elevation.js"
- src: "js/leaflet.hugo.js"
- src: "js/leaflet.extra-markers.min.js"
privacy:
disqus:
disable: true
googleAnalytics:
disable: true
instagram: {}
twitter: {}
vimeo: {}
youtube: {}

View file

@ -1,58 +0,0 @@
colorScheme = "blowfish"
defaultAppearance = "dark"
autoSwitchAppearance = false
enableSearch = true
logo = "logo.png"
[author]
name = "TFC Connection"
links = [
{facebook = "https://facebook.com/tfcconnection"},
{instagram = "https://instagram.com/tfcconnection"}
]
[header]
layout = "basic"
[homepage]
layout = "page" # valid options: page, profile, hero, card, background, custom
# homepageImage = "/img/iceland.jpg" # used in: hero, and card
showRecent = false
showRecentItems = 5
showMoreLink = true
showMoreLinkDest = "docs"
[article]
showDate = false
showDateUpdated = false
showAuthor = true
showHero = true
heroStyle = "background" # valid options: basic, big, background
showBreadcrumbs = true
showDraftLabel = true
showEdit = true
seriesOpened = false
showHeadingAnchors = true
showPagination = true
invertPagination = false
showReadingTime = false
showTableOfContents = true
showTaxonomies = true
showAuthorsBadges = true
showWordCount = false
showSummary = true
sharingLinks = [ "twitter", "reddit", "facebook", "instagram", "email"]
[list]
showBreadcrumbs = true
showSummary = true
showTableOfContents = true
showCards = true
groupByYear = false
[footer]
showMenu = true
showCopyright = true
showThemeAttribution = true
showAppearanceSwitcher = false
showScrollToTop = true

View file

@ -0,0 +1,55 @@
colorScheme: blowfish
defaultAppearance: dark
autoSwitchAppearance: false
enableSearch: true
logo: logo.png
author:
name: TFC Connection
links:
- facebook: 'https://facebook.com/tfcconnection'
- instagram: 'https://instagram.com/tfcconnection'
header:
layout: basic
homepage:
layout: page
showRecent: false
showRecentItems: 5
showMoreLink: true
showMoreLinkDest: docs
article:
showDate: false
showDateUpdated: false
showAuthor: true
showHero: true
heroStyle: background
showBreadcrumbs: true
showDraftLabel: true
showEdit: true
seriesOpened: false
showHeadingAnchors: true
showPagination: true
invertPagination: false
showReadingTime: false
showTableOfContents: true
showTaxonomies: true
showAuthorsBadges: true
showWordCount: false
showSummary: true
sharingLinks:
- twitter
- reddit
- facebook
- instagram
- email
list:
showBreadcrumbs: true
showSummary: true
showTableOfContents: true
showCards: true
groupByYear: false
footer:
showMenu: true
showCopyright: true
showThemeAttribution: true
showAppearanceSwitcher: false
showScrollToTop: true