diff --git a/config/_default/config.toml b/config/_default/config.toml deleted file mode 100644 index 6e2511c..0000000 --- a/config/_default/config.toml +++ /dev/null @@ -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] - diff --git a/config/_default/config.yaml b/config/_default/config.yaml new file mode 100644 index 0000000..2e0ed90 --- /dev/null +++ b/config/_default/config.yaml @@ -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: {} diff --git a/config/_default/params.toml b/config/_default/params.toml deleted file mode 100644 index 880e4b9..0000000 --- a/config/_default/params.toml +++ /dev/null @@ -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 diff --git a/config/_default/params.yaml b/config/_default/params.yaml new file mode 100644 index 0000000..9e5d72a --- /dev/null +++ b/config/_default/params.yaml @@ -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 diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 0a24569..7026507 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -39,21 +39,22 @@
- {{ end }} + {{ end }} {{- partial "footer.html" . -}} {{ if .Site.Params.enableSearch | default false }} - {{- partial "search.html" . -}} + {{- partial "search.html" . -}} {{ end }} + {{ partial "leaflet-loader" . }}