feat: port Wowchemy blog template from Bootstrap to Tailwind

This commit is contained in:
George Cushen 2023-10-24 18:46:21 +01:00
commit 5678df1da9
23 changed files with 558 additions and 0 deletions

View file

@ -0,0 +1,92 @@
# Configuration of Hugo
# Guide: https://wowchemy.com/docs/getting-started/
# Hugo Documentation: https://gohugo.io/getting-started/configuration/#all-configuration-settings
# This file is formatted using YAML syntax - learn more at https://learnxinyminutes.com/docs/yaml/
title: Minimal Hugo Blog Theme # Website name
baseURL: 'https://example.com/' # Website URL
############################
## PAGE OPTIONS
############################
cascade:
# Blog post options
- _target:
path: /post/**
pager: true
editable: true
reading_time: true
commentable: true
show_related: true
show_breadcrumb: true
share: true
header:
navbar:
enable: false
############################
## LANGUAGE
############################
defaultContentLanguage: en
hasCJKLanguage: false
defaultContentLanguageInSubdir: false
removePathAccents: true
############################
## MODULES
############################
module:
imports:
- path: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify
- path: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-tailwind
############################
## ADVANCED
############################
build:
writeStats: true
enableGitInfo: false
summaryLength: 30
paginate: 10
enableEmoji: true
enableRobotsTXT: true
footnotereturnlinkcontents: <sup>^</sup>
ignoreFiles: [\.ipynb$, .ipynb_checkpoints$, \.Rmd$, \.Rmarkdown$, _cache$]
permalinks:
authors: '/author/:slug/'
tags: '/tag/:slug/'
categories: '/category/:slug/'
disableAliases: true
outputs:
home: [HTML, RSS, headers, redirects]
section: [HTML, RSS]
imaging:
resampleFilter: lanczos
quality: 95
anchor: smart
timeout: 600000
taxonomies:
tag: tags
category: categories
author: authors
markup:
_merge: deep
highlight:
lineNos: false
related:
threshold: 80
includeNewer: true
toLower: true
indices:
- name: tags
weight: 100
- name: categories
weight: 70
security:
_merge: deep
sitemap:
_merge: deep

View file

@ -0,0 +1,22 @@
# Languages
# Create a section for each of your site's languages.
# Documentation: https://wowchemy.com/docs/guide/language/
# Default language
en:
languageCode: en-us
# Uncomment for multi-lingual sites, and move English content into `en` sub-folder.
#contentDir: content/en
# Uncomment the lines below to configure your website in a second language.
#zh:
# languageCode: zh-Hans
# contentDir: content/zh
# title: Chinese website title...
# params:
# description: Site description in Chinese...
# menu:
# main:
# - name: 传
# url: '#about'
# weight: 1

View file

@ -0,0 +1,15 @@
# Navigation Links
# To link a homepage widget, specify the URL as a hash `#` followed by the filename of the
# desired widget in your `content/home/` folder.
# The weight parameter defines the order that the links will appear in.
main:
- name: Home
url: /
weight: 10
- name: Blog
url: post/
weight: 20
- name: Uses
url: uses/
weight: 30

View file

@ -0,0 +1,50 @@
# SITE SETUP
# Guide: https://wowchemy.com/docs/getting-started/
# Documentation: https://wowchemy.com/docs/
# This file is formatted using YAML syntax - learn more at https://learnxinyminutes.com/docs/yaml/
# SEO
marketing:
seo:
site_type: Person
local_business_type: ''
org_name: ''
description: 'A highly-customizable Hugo blog theme powered by Wowchemy website builder.'
twitter: 'wowchemy'
analytics:
google_analytics: ''
baidu_tongji: ''
verification:
google: ''
baidu: ''
footer:
copyright:
notice: '© {year} Me. This work is licensed under {license}'
license:
enable: true
allow_derivatives: false
share_alike: true
allow_commercial: false
# Localization
locale:
date_format: 'Jan 2, 2006'
time_format: '3:04 PM'
# Site features
features:
syntax_highlighter:
theme_light: github-light
theme_dark: github-dark
math:
enable: false
privacy_pack:
enable: false
repository:
url: 'https://github.com/<username>/<repository>'
content_dir: content
branch: main