starters: port Academic theme to Tailwind
This commit is contained in:
@@ -3,8 +3,10 @@
|
||||
# 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: Academic # Website name
|
||||
baseURL: 'https://example.com/' # Website URL
|
||||
# Website name
|
||||
title: Hugo Academic CV Theme
|
||||
# Website URL
|
||||
baseURL: 'https://example.com/'
|
||||
|
||||
############################
|
||||
## LANGUAGE
|
||||
@@ -19,6 +21,8 @@ removePathAccents: true
|
||||
## ADVANCED
|
||||
############################
|
||||
|
||||
build:
|
||||
writeStats: true
|
||||
enableGitInfo: false
|
||||
summaryLength: 30
|
||||
paginate: 10
|
||||
@@ -27,38 +31,25 @@ enableRobotsTXT: true
|
||||
footnotereturnlinkcontents: <sup>^</sup>
|
||||
ignoreFiles: [\.ipynb$, .ipynb_checkpoints$, \.Rmd$, \.Rmarkdown$, _cache$]
|
||||
permalinks:
|
||||
event: '/talk/:slug/'
|
||||
tags: '/tag/:slug/'
|
||||
categories: '/category/:slug/'
|
||||
publication_types: '/publication-type/:slug/'
|
||||
authors: '/author/:slug/'
|
||||
disableAliases: true
|
||||
outputs:
|
||||
home: [HTML, RSS, JSON, WebAppManifest, headers, redirects]
|
||||
home: [HTML, RSS, headers, redirects, backlinks]
|
||||
section: [HTML, RSS]
|
||||
imaging:
|
||||
resampleFilter: lanczos
|
||||
quality: 75
|
||||
quality: 80
|
||||
anchor: smart
|
||||
timeout: 600000
|
||||
taxonomies:
|
||||
tag: tags
|
||||
category: categories
|
||||
publication_type: publication_types
|
||||
author: authors
|
||||
tag: tags
|
||||
publication_type: publication_types
|
||||
markup:
|
||||
_merge: deep
|
||||
related:
|
||||
threshold: 80
|
||||
includeNewer: true
|
||||
toLower: true
|
||||
indices:
|
||||
- name: tags
|
||||
weight: 100
|
||||
- name: categories
|
||||
weight: 70
|
||||
highlight:
|
||||
lineNos: false
|
||||
security:
|
||||
_merge: deep
|
||||
sitemap:
|
||||
_merge: deep
|
||||
minify:
|
||||
_merge: deep
|
||||
|
||||
@@ -1,30 +1,27 @@
|
||||
# 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.
|
||||
# desired widget in your `content/home/` folder.
|
||||
# The weight parameter defines the order that the links will appear in.
|
||||
|
||||
main:
|
||||
- name: Home
|
||||
url: '#about'
|
||||
- name: Bio
|
||||
url: /
|
||||
weight: 10
|
||||
- name: Posts
|
||||
url: '#posts'
|
||||
- name: Papers
|
||||
url: /#papers
|
||||
weight: 11
|
||||
- name: Talks
|
||||
url: /#talks
|
||||
weight: 12
|
||||
- name: News
|
||||
url: /#news
|
||||
weight: 13
|
||||
- name: Experience
|
||||
url: experience/
|
||||
weight: 20
|
||||
- name: Projects
|
||||
url: '#projects'
|
||||
url: projects/
|
||||
weight: 30
|
||||
- name: Talks
|
||||
url: '#talks'
|
||||
- name: Teaching
|
||||
url: teaching/
|
||||
weight: 40
|
||||
- name: Publications
|
||||
url: '#featured'
|
||||
weight: 50
|
||||
- name: Contact
|
||||
url: '#contact'
|
||||
weight: 60
|
||||
|
||||
# Link to a PDF of your resume/CV from the menu.
|
||||
# To enable, copy your resume/CV to `static/uploads/resume.pdf` and uncomment the lines below.
|
||||
# - name: CV
|
||||
# url: uploads/resume.pdf
|
||||
# weight: 70
|
||||
|
||||
@@ -6,5 +6,20 @@
|
||||
|
||||
imports:
|
||||
- path: github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify
|
||||
- path: github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-reveal
|
||||
- path: github.com/HugoBlox/hugo-blox-builder/modules/blox-bootstrap/v5
|
||||
- path: github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind
|
||||
|
||||
# Install any Hugo Blox within the `hugo-blox/blox/` folder
|
||||
mounts:
|
||||
- source: hugo-blox/blox/community
|
||||
target: layouts/partials/blox/community/
|
||||
includeFiles: '**.html'
|
||||
- source: hugo-blox/blox/all-access
|
||||
target: layouts/partials/blox/
|
||||
includeFiles: '**.html'
|
||||
- source: hugo-blox/blox
|
||||
target: assets/dist/community/blox/
|
||||
includeFiles: '**.css'
|
||||
- source: layouts
|
||||
target: layouts
|
||||
- source: assets
|
||||
target: assets
|
||||
|
||||
@@ -4,45 +4,40 @@
|
||||
# This file is formatted using YAML syntax - learn more at https://learnxinyminutes.com/docs/yaml/
|
||||
|
||||
# Appearance
|
||||
|
||||
appearance:
|
||||
theme_day: minimal
|
||||
theme_night: minimal
|
||||
font: minimal
|
||||
font_size: L
|
||||
mode: system
|
||||
color: emerald
|
||||
|
||||
# SEO
|
||||
|
||||
marketing:
|
||||
seo:
|
||||
site_type: Person
|
||||
local_business_type: ''
|
||||
org_name: ''
|
||||
description: 'A highly-customizable Hugo academic resume theme powered by Hugo Blox Builder.'
|
||||
description: 'The highly-customizable Hugo Academic theme powered by Hugo Blox Builder. Easily create your personal academic website.'
|
||||
twitter: 'GetResearchDev'
|
||||
analytics:
|
||||
google_analytics: ''
|
||||
baidu_tongji: ''
|
||||
google_tag_manager: ''
|
||||
microsoft_clarity: ''
|
||||
plausible: ''
|
||||
fathom: ''
|
||||
pirsch: ''
|
||||
verification:
|
||||
google: ''
|
||||
baidu: ''
|
||||
|
||||
# Site header
|
||||
|
||||
header:
|
||||
navbar:
|
||||
enable: true
|
||||
align: l
|
||||
show_logo: true
|
||||
show_language: false
|
||||
show_day_night: true
|
||||
blox: "navbar"
|
||||
fixed_to_top: true
|
||||
show_search: true
|
||||
highlight_active_link: true
|
||||
show_theme_chooser: true
|
||||
logo:
|
||||
text: "Your Name"
|
||||
|
||||
# Site footer
|
||||
|
||||
footer:
|
||||
copyright:
|
||||
notice: '© {year} Me. This work is licensed under {license}'
|
||||
@@ -53,64 +48,13 @@ footer:
|
||||
allow_commercial: false
|
||||
|
||||
# Localization
|
||||
|
||||
locale:
|
||||
date_format: 'Jan 2, 2006'
|
||||
time_format: '3:04 PM'
|
||||
address_format: en-us
|
||||
|
||||
# Site features
|
||||
|
||||
features:
|
||||
syntax_highlighter:
|
||||
theme_light: github-light
|
||||
theme_dark: dracula
|
||||
math:
|
||||
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: ''
|
||||
giscus:
|
||||
repo: ''
|
||||
repo_id: ''
|
||||
category: ''
|
||||
category_id: ''
|
||||
search:
|
||||
provider: wowchemy
|
||||
algolia:
|
||||
app_id: ''
|
||||
api_key: ''
|
||||
index_name: ''
|
||||
show_logo: false
|
||||
map:
|
||||
provider: 'mapnik'
|
||||
api_key: ''
|
||||
zoom: 15
|
||||
|
||||
# Extensions
|
||||
|
||||
extensions:
|
||||
cms:
|
||||
branch: main
|
||||
local_backend: false
|
||||
academicons:
|
||||
enable: true
|
||||
|
||||
# Security
|
||||
|
||||
security:
|
||||
# Allow frame for embedding speaker notes in slides
|
||||
allow_frame: true
|
||||
|
||||
Reference in New Issue
Block a user