Skip to content

Commit

Permalink
demo: update content
Browse files Browse the repository at this point in the history
  • Loading branch information
gcushen committed Jan 23, 2021
1 parent 4211926 commit b437103
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 16 deletions.
2 changes: 1 addition & 1 deletion config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ address_format = "en-us"
############################

# Main menu alignment (l = left, c = center, r = right) and logo options.
main_menu = {align = "l", show_logo = true, highlight_active_link = true, show_language = false, show_day_night = true, show_search = true}
main_menu = {enable = true, align = "l", show_logo = true, highlight_active_link = true, show_language = false, show_day_night = true, show_search = true}

# Show estimated reading time for posts? (true/false)
reading_time = true
Expand Down
30 changes: 15 additions & 15 deletions exampleSite/config/_default/params.toml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
# SITE SETUP
# Guide: https://sourcethemes.com/academic/docs/get-started/
# Documentation: https://sourcethemes.com/academic/docs/
# Guide: https://wowchemy.com/docs/get-started/
# Documentation: https://wowchemy.com/docs/
#
# This file is formatted using TOML syntax - learn more at https://learnxinyminutes.com/docs/toml/
# Each configuration section is defined by a name in square brackets (e.g. `[search]`).
# Each config section after this section is defined by a name in square brackets (e.g. `[search]`).

############################
## Theme
############################

# Choose a theme.
# Latest themes (may require updating): https://sourcethemes.com/academic/themes/
# Browse built-in themes in `themes/academic/data/themes/`
# Guide to color themes: https://wowchemy.com/docs/customization/#color-themes
# Browse the latest built-in font sets at https://github.com/wowchemy/wowchemy-hugo-modules/tree/master/wowchemy/themes/
# Browse user installed themes in `data/themes/`
theme = "minimal"

# Enable users to switch between day and night mode?
day_night = true

# Override the theme's font set (optional).
# Latest font sets (may require updating): https://sourcethemes.com/academic/themes/
# Browse built-in font sets in `themes/academic/data/fonts/`
# Guide to font sets: https://wowchemy.com/docs/customization/#fonts
# Browse the latest built-in font sets at https://github.com/wowchemy/wowchemy-hugo-modules/tree/master/wowchemy/data/fonts
# Browse user installed font sets in `data/fonts/`
font = ""

Expand Down Expand Up @@ -55,8 +55,8 @@ description = ""
############################

# Enable source code highlighting? true/false
# Documentation: https://sourcethemes.com/academic/docs/writing-markdown-latex/#highlighting-options
highlight = true
# Documentation: https://wowchemy.com/docs/writing-markdown-latex/#highlighting-options
highlight = false
highlight_languages = ["r", "latex"] # Add support for highlighting additional languages
# highlight_style = "github" # For supported styles, see https://cdnjs.com/libraries/highlight.js/

Expand All @@ -75,10 +75,10 @@ privacy_pack = false

# Enable visitors to edit pages?
# `repo` defines the repository URL. `editable` defines which page types can be edited.
edit_page = {repo_url = "https://github.com/gcushen/hugo-academic", content_dir = "", repo_branch = "master", editable = {docs = true, page = false, post = false}}
edit_page = {repo_url = "", content_dir = "", repo_branch = "main", editable = {page = false, post = false, book = false}}

# Show related content at the bottom of pages?
show_related = {docs = true, page = false, post = true, project = true, publication = true, talk = true}
show_related = {book = true, page = false, post = true, project = true, publication = true, talk = true}

############################
## Contact details
Expand Down Expand Up @@ -133,7 +133,7 @@ twitter = ""
## Regional Settings
############################

# Date and time format (refer to https://sourcethemes.com/academic/docs/customization/#date-format )
# Date and time format (refer to https://wowchemy.com/docs/customization/#date-format )
# Examples: "Mon, Jan 2, 2006" or "2006-01-02"
date_format = "Jan 2, 2006"
# Examples: "3:04 pm" or "15:04"
Expand Down Expand Up @@ -182,7 +182,7 @@ plugins_js = []

# Configuration of publication pages.
[publications]
# Date format (refer to https://sourcethemes.com/academic/docs/customization/#date-format )
# Date format (refer to https://wowchemy.com/docs/customization/#date-format )
# Examples: "Mon, Jan 2, 2006" or "2006-01-02"
date_format = "January 2006"

Expand Down Expand Up @@ -274,8 +274,8 @@ plugins_js = []
## Content Management System
############################
[cms]
# See https://sourcethemes.com/academic/docs/install/#install-with-web-browser
netlify_cms = true
# See https://wowchemy.com/docs/install/
netlify_cms = false

############################
## Icon Pack Extensions
Expand Down
3 changes: 3 additions & 0 deletions exampleSite/content/authors/admin/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ social:
- icon: twitter
icon_pack: fab
link: https://twitter.com/GeorgeCushen
label: Follow me on Twitter
display:
header: true
- icon: graduation-cap # Alternatively, use `google-scholar` icon from `ai` icon pack
icon_pack: fas
link: https://scholar.google.co.uk/citations?user=sIwtMXoAAAAJ
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: Writing technical content in Academic
date: 2019-07-12
math: true
diagram: true
highlight: true
image:
placement: 3
caption: 'Image credit: [**John Moeses Bauan**](https://unsplash.com/photos/OGZtQF8iC0g)'
Expand Down
1 change: 1 addition & 0 deletions exampleSite/content/publication/_index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Publications
cms_exclude: true

# View.
# 1 = List
Expand Down

0 comments on commit b437103

Please sign in to comment.