mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 19:15:16 +02:00
starters: add Blog starter
This commit is contained in:
parent
8985075341
commit
7c83d94590
37 changed files with 1381 additions and 0 deletions
86
starters/blog/config/_default/config.yaml
Normal file
86
starters/blog/config/_default/config.yaml
Normal file
|
@ -0,0 +1,86 @@
|
|||
# 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: Hugo Academic Blog Theme # Website name
|
||||
baseurl: 'https://example.com/' # Website URL
|
||||
|
||||
############################
|
||||
## Page options
|
||||
############################
|
||||
|
||||
cascade:
|
||||
# Blog post options
|
||||
- _target:
|
||||
path: /post/**
|
||||
editable: true
|
||||
reading_time: true
|
||||
commentable: true
|
||||
show_related: true
|
||||
show_breadcrumb: true
|
||||
header:
|
||||
navbar:
|
||||
enable: false
|
||||
|
||||
############################
|
||||
## LANGUAGE
|
||||
############################
|
||||
|
||||
defaultContentLanguage: en
|
||||
hasCJKLanguage: false
|
||||
defaultContentLanguageInSubdir: false
|
||||
removePathAccents: true
|
||||
|
||||
############################
|
||||
## MODULES
|
||||
############################
|
||||
|
||||
module:
|
||||
imports:
|
||||
- path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5
|
||||
- path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5
|
||||
|
||||
############################
|
||||
## ADVANCED
|
||||
############################
|
||||
|
||||
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, JSON, WebAppManifest, headers, redirects]
|
||||
section: [HTML, RSS]
|
||||
imaging:
|
||||
resampleFilter: lanczos
|
||||
quality: 75
|
||||
anchor: smart
|
||||
timeout: 600000
|
||||
taxonomies:
|
||||
tag: tags
|
||||
category: categories
|
||||
author: authors
|
||||
markup:
|
||||
_merge: deep
|
||||
related:
|
||||
threshold: 80
|
||||
includeNewer: true
|
||||
toLower: true
|
||||
indices:
|
||||
- name: tags
|
||||
weight: 100
|
||||
- name: categories
|
||||
weight: 70
|
||||
security:
|
||||
_merge: deep
|
||||
sitemap:
|
||||
_merge: deep
|
22
starters/blog/config/_default/languages.yaml
Normal file
22
starters/blog/config/_default/languages.yaml
Normal 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
|
12
starters/blog/config/_default/menus.yaml
Normal file
12
starters/blog/config/_default/menus.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
# 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: About
|
||||
url: about/
|
||||
weight: 20
|
105
starters/blog/config/_default/params.yaml
Normal file
105
starters/blog/config/_default/params.yaml
Normal file
|
@ -0,0 +1,105 @@
|
|||
# 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/
|
||||
|
||||
# Appearance
|
||||
|
||||
appearance:
|
||||
theme_day: custom
|
||||
theme_night: custom
|
||||
font: minimal
|
||||
font_size: L
|
||||
|
||||
# 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: ''
|
||||
|
||||
# Site header
|
||||
|
||||
header:
|
||||
navbar:
|
||||
enable: false
|
||||
align: r
|
||||
show_logo: false
|
||||
show_language: false
|
||||
show_day_night: true
|
||||
show_search: true
|
||||
highlight_active_link: false
|
||||
|
||||
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:
|
||||
enable: true
|
||||
extra_languages:
|
||||
- r
|
||||
- latex
|
||||
math:
|
||||
enable: false
|
||||
diagram:
|
||||
enable: false
|
||||
privacy_pack:
|
||||
enable: false
|
||||
repository:
|
||||
url: 'https://github.com/<username>/<repository>'
|
||||
content_dir: content
|
||||
branch: main
|
||||
avatar:
|
||||
gravatar: false
|
||||
shape: circle
|
||||
comment:
|
||||
provider: ''
|
||||
disqus:
|
||||
shortname: ''
|
||||
show_count: true
|
||||
commento:
|
||||
url: ''
|
||||
search:
|
||||
provider: wowchemy
|
||||
algolia:
|
||||
app_id: ''
|
||||
api_key: ''
|
||||
index_name: ''
|
||||
show_logo: false
|
||||
map:
|
||||
provider: ''
|
||||
api_key: ''
|
||||
zoom: 15
|
||||
|
||||
extensions:
|
||||
cms:
|
||||
branch: main
|
||||
local_backend: false
|
||||
isotope:
|
||||
# Enable if you use the Portfolio widget or Publication filter
|
||||
enable: false
|
||||
academicons:
|
||||
enable: false
|
Loading…
Add table
Add a link
Reference in a new issue