Source code for my blog (blogdown/Hugo). The source code for individual blog posts is tracked from this repo as git submodules (https://codeberg.org/taha/solarchemist.se/src/branch/master/content/post). https://solarchemist.se
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

120 lines
3.4 KiB

# baseurl needs to be "/" to work for both chepec.se and solarchemist.se
# https://github.com/gohugoio/hugo/issues/5740
baseurl: "/"
# RStudio preview mode requires relativeurls: true
relativeurls: false
## Notes regarding the preview VS live publishing
# live preview in Rstudio server only works with relativeurls: TRUE
# also, your theme must support relative URLs
# https://github.com/rstudio/blogdown/issues/124
# Rstudio build resets baseurl to "/" by itself
# Top-level settings
title: "solarchemist.se"
languageCode: "en-gb"
copyright: "Text, plots and photos CC-BY-SA, code GPLv3"
theme: "ghostwriter"
paginate: 10
publishDir: "/var/www/html/blogs/solarchemist"
ignoreFiles:
- "\\.Rmd$"
- "\\.Rmarkdown$"
- "\\.Rproj$"
- "\\.RData$"
- "\\.Rhistory$"
- "\\.Rnw$"
- "\\.pdf$"
- "\\.sqlite.*$"
- "_cache$"
- "renv" # blogdown v1.1 failed to respect this ignore with trailing slash...
- "packrat"
- "\\.lock$"
- "\\.knit\\.md$"
- "\\.utf8\\.md$"
# don't let Hugo mess with my URLs - disablePathToLower (default false)
disablePathToLower: true
# don't let Hugo mess with tag names - preserveTaxonomyNames (default false)
preserveTaxonomyNames: true
# set markup renderer explicitly on the advice of
# https://github.com/rstudio/blogdown/issues/447
markup:
goldmark:
renderer:
unsafe: true
author:
name: "Taha Ahmed"
params:
# added mainSections due to changes in the Ghostwriter theme
# https://github.com/jbub/ghostwriter/commit/6e9eabc9ce50c6240581fa2908c47b2cc0f2db95
# https://github.com/jbub/ghostwriter/issues/60
mainSections:
- "post"
# if intro=true a thick horizontal rule is displayed below the header on all pages
# the description is displayed only on the frontpage above that rule
# if intro=false the horizontal rule is not displayed at all and neither is the description
intro: true
description: ""
dateFormat: "Jan 2, 2006"
#description: "Photoelectrochemistry is the science at the core of solar technology."
twitter: "https://twitter.com/solarchemist"
mastodon: "https://scholar.social/@solarchemist"
linkedin: "https://se.linkedin.com/in/taha1430"
github: "https://github.com/solarchemist"
#gitlab: "https://gitlab.com/chepec"
# gitea: "https://git.solarchemist.se"
codeberg: "https://codeberg.org/taha"
#shaarli: "https://shaarli.chepec.se"
#reddit: "https://www.reddit.com/u/chepec"
stackoverflow: "https://stackoverflow.com/users/1198249/solarchemist"
orcid: "https://orcid.org/0000-0001-6717-0408"
#figshare: "https://figshare.com/authors/Taha_Ahmed/279037"
#impactstory: "https://impactstory.org/u/solarchemist"
#zotero: "https://www.zotero.org/solarchemist"
#googlescholar: "https://scholar.google.se/citations?hl=en&user=bzlRIHcAAAAJ"
email: "solarchemist[.at.]protonmail[.dot.]com"
opengraph: true
# controls which share buttons are shown in post footer
shareTwitter: true
shareMastodon: true
shareFacebook: false
shareGooglePlus: false
shareLinkedIn: false
MathJaxCDN: "//cdn.bootcss.com"
MathJaxVersion: "2.7.1"
customCSS:
- "css/photogrid.css"
taxonomies:
tag: "tags"
permalinks:
post: "/:year/:month/:day/:slug/"
menu:
main:
- name: "Tags"
url: "/tags/"
weight: 1
- name: "About"
url: "/about/"
weight: 2
# - name: "Uses"
# url: "/uses/"
# weight: 3
- name: "Contact"
url: "/contact/"
weight: 4