Skip to content

Commit

Permalink
Update our theme (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
choldgraf authored Jul 21, 2022
1 parent 69a1987 commit a2c87c6
Show file tree
Hide file tree
Showing 43 changed files with 254 additions and 567 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ jobs:
uses: peaceiris/actions-hugo@v2
with:
# This should be the same version that we use in .netlify.toml
hugo-version: '0.88.1'
hugo-version: '0.95.0'
extended: true

- name: Build
run: hugo --minify

- name: Link Checker
uses: lycheeverse/lychee-action@v1.0.9
uses: lycheeverse/lychee-action@v1.5.0
with:
args: --exclude https://fonts.gstatic.com --exclude twitter.com --verbose --no-progress public/**/*.html # fonts.gstatic.com is an expected fail and twitter returns "too many requests" errors
env:
Expand Down
Empty file added .hugo_build.lock
Empty file.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ This website is **hosted** by GitHub Pages, and we use Netlify to display previe

## Build this website locally

* Install the Hugo extended version from [the latest releases page](https://github.com/gohugoio/hugo/releases)
We currently build this site with [**Wowchemy v5.5.0**](https://github.com/wowchemy/wowchemy-hugo-themes/releases/tag/v5.5.0).
This version recommends [**Hugo v0.95.0**](https://github.com/gohugoio/hugo/releases/v0.95.0/).

* Install the Hugo extended listed above from [the latest releases page](https://github.com/gohugoio/hugo/releases)
- Ensure that you have the *extended version*
* Clone this repository locally:

Expand Down
2 changes: 1 addition & 1 deletion assets/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"baseUrl": ".",
"paths": {
"*": [
"../../../../../../../../tmp/hugo_cache/modules/filecache/modules/pkg/mod/github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5@v5.0.0-20210629192904-559885af86b7/assets/*"
"../../../../../../../../tmp/hugo_cache/modules/filecache/modules/pkg/mod/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5@v5.6.0/assets/*"
]
}
}
Expand Down
10 changes: 1 addition & 9 deletions assets/scss/pages/_home.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Home page
.home-section {
padding: 50px 0 50px 0;
padding: 50px 0;
}

div.hero-lead {
Expand All @@ -10,14 +10,6 @@ div.hero-lead {
}
}

#service, #projects {
padding-bottom: 0;
}

#service-features, #projects-features {
padding-top: 0;
padding-bottom: 0;
}

ul.cta-group {
justify-content: center;
Expand Down
3 changes: 0 additions & 3 deletions assets/scss/pages/_projects.scss
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
.project-list-item {
padding-top: 0;
}
119 changes: 0 additions & 119 deletions config/_default/config.toml

This file was deleted.

81 changes: 81 additions & 0 deletions config/_default/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# 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: 2i2c # Website name
baseURL: 'https://2i2c.org/' # Website URL

############################
## LANGUAGE
############################

defaultContentLanguage: en
hasCJKLanguage: false
defaultContentLanguageInSubdir: false
removePathAccents: true

############################
## MODULES
############################

module:
imports:
- path: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify-cms
- path: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify
- path: github.com/wowchemy/wowchemy-hugo-themes/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/"
event: '/talk/:slug/'
tags: '/tag/:slug/'
categories: '/category/:slug/'
publication_types: '/publication-type/: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
publication_type: publication_types
author: authors
markup:
_merge: deep
related:
threshold: 80
includeNewer: true
toLower: true
indices:
- name: tags
weight: 100
- name: categories
weight: 70
security:
_merge: deep
# Get this theme working on latest Hugo
# ref: https://github.com/wowchemy/wowchemy-hugo-themes/discussions/2559#discussioncomment-1840591
funcs:
getenv:
- "^HUGO_"
- "^WC_"

sitemap:
_merge: deep

2 changes: 1 addition & 1 deletion config/_default/menus.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

[[main]]
parent = "about"
name = "Work at 2i2c"
name = "Jobs at 2i2c"
url = "jobs/"
weight = 15

Expand Down
Loading

0 comments on commit a2c87c6

Please sign in to comment.