-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d61da0c
Showing
44 changed files
with
1,180 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
# https://gohugo.io/hosting-and-deployment/hosting-on-github/ | ||
# Sample workflow for building and deploying a Hugo site to GitHub Pages | ||
name: Deploy Hugo site to Pages | ||
|
||
on: | ||
# Runs on pushes targeting the default branch | ||
push: | ||
branches: | ||
- main | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | ||
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | ||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: false | ||
|
||
# Default to bash | ||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
# Build job | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
HUGO_VERSION: 0.115.4 | ||
steps: | ||
- name: Install Hugo CLI | ||
run: | | ||
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \ | ||
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb | ||
- name: Install Dart Sass | ||
run: sudo snap install dart-sass | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
fetch-depth: 0 | ||
- name: Setup Pages | ||
id: pages | ||
uses: actions/configure-pages@v3 | ||
- name: update content/publication | ||
run: scripts/update_publication.sh | ||
- name: Build with Hugo | ||
env: | ||
# For maximum backward compatibility with Hugo modules | ||
HUGO_ENVIRONMENT: production | ||
HUGO_ENV: production | ||
run: | | ||
hugo \ | ||
--gc \ | ||
--minify \ | ||
--baseURL "${{ steps.pages.outputs.base_url }}/" | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v1 | ||
with: | ||
path: ./public | ||
|
||
# Deployment job | ||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Created by https://www.toptal.com/developers/gitignore/api/hugo | ||
# Edit at https://www.toptal.com/developers/gitignore?templates=hugo | ||
|
||
### Hugo ### | ||
# Generated files by hugo | ||
/public/ | ||
/resources/_gen/ | ||
/assets/jsconfig.json | ||
hugo_stats.json | ||
|
||
# Executable may be added to repository | ||
hugo.exe | ||
hugo.darwin | ||
hugo.linux | ||
|
||
# Temporary lock file while building | ||
/.hugo_build.lock | ||
|
||
# End of https://www.toptal.com/developers/gitignore/api/hugo | ||
|
||
# content/publication is generated by scripts/update_publication.sh | ||
content/publication |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# LASP Website | ||
|
||
LASP website built using Hugo wowchemy themes for Research Groups | ||
|
||
### Local Development | ||
|
||
```bash | ||
sh scripts/update_publication.sh # only one per | ||
hugo server | ||
``` | ||
|
||
### deploy to gh-pages | ||
|
||
The deployment to gh-pages is automatically done when push to github. See the actions section for the GitHub Project | ||
The github that do this is defined in [.github/workflows/gh-pages.yml](.github/workflows/gh-pages.yml). | ||
|
||
## References | ||
|
||
### aoubt Hugo static site tool | ||
|
||
- <https://gohugo.io/documentation/> | ||
|
||
### about wowchemy themes | ||
|
||
- wowchemy themes: | ||
- <https://github.com/wowchemy/wowchemy-hugo-themes/> | ||
- <https://wowchemy.com/docs/getting-started/install-hugo-extended/> | ||
- wowchemy themes blocks: | ||
- <https://wowchemy.com/blocks/> | ||
- <https://github.com/wowchemy/wowchemy-hugo-themes/tree/main/modules/wowchemy/layouts/partials/blocks> | ||
- wowchemy themes starter for research group: | ||
- <https://github.com/wowchemy/starter-hugo-research-group> | ||
- <https://wowchemy.com/tags/research-group/> | ||
- wowchemy academic cli to produce pages from bib: | ||
- <https://github.com/wowchemy/hugo-academic-cli> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Make page header alignment consistent with widget page header alignment | ||
.universal-wrapper h1 { | ||
text-align: center; | ||
} | ||
|
||
// Center the CTA shortcode button | ||
.cta-group { | ||
justify-content: center; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
# 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/ | ||
|
||
# Website name | ||
title: Learning And Signal Processing | ||
|
||
# The URL of your site. | ||
# End your URL with a `/` trailing slash, e.g. `https://example.com/`. | ||
# baseurl: "" | ||
# copyright: "" | ||
|
||
############################ | ||
## 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/' | ||
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 | ||
sitemap: | ||
_merge: deep |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Languages | ||
# Create a section for each of your site's languages. | ||
# Documentation: https://wowchemy.com/docs/guide/language/ | ||
|
||
# Default language | ||
en: | ||
languageCode: en-us |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# 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: "#about_group" | ||
weight: 10 | ||
- name: Publications | ||
url: "#publications" | ||
weight: 20 | ||
- name: People | ||
url: "#people" | ||
weight: 30 | ||
- name: Contact | ||
url: "#contact" | ||
weight: 40 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
# SITE SETUP | ||
# Guide: https://wowchemy.com/docs/getting-started/ | ||
# Documentation: https://wowchemy.com/docs/ | ||
|
||
# Appearance | ||
appearance: | ||
theme_day: minimal | ||
theme_night: | ||
font: native | ||
font_size: L | ||
|
||
# SEO | ||
marketing: | ||
seo: | ||
site_type: EducationalOrganization | ||
local_business_type: "" | ||
org_name: "Learning And Signal Processing at UCL" | ||
description: "Learning And Signal Processing at UCL" | ||
twitter: "UCL_LASP" | ||
analytics: | ||
google_analytics: "" | ||
baidu_tongji: "" | ||
verification: | ||
google: "" | ||
baidu: "" | ||
|
||
# Site header | ||
header: | ||
navbar: | ||
enable: true | ||
align: r | ||
show_logo: true | ||
show_language: false | ||
show_day_night: true | ||
show_search: true | ||
highlight_active_link: true | ||
|
||
# Site footer | ||
footer: | ||
copyright: | ||
notice: "© {year} UCL-LASP. 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: "15:04" | ||
address_format: en-us | ||
|
||
# Site features | ||
features: | ||
syntax_highlighter: | ||
enable: false | ||
extra_languages: | ||
- latex | ||
- python | ||
math: | ||
enable: true | ||
privacy_pack: | ||
enable: false | ||
avatar: | ||
gravatar: false | ||
shape: circle | ||
comment: | ||
provider: "" | ||
disqus: | ||
shortname: "" | ||
show_count: true | ||
commento: | ||
url: "" | ||
search: | ||
provider: wowchemy | ||
wowchemy: | ||
min_length: 1 # Only the matches whose length exceeds this value will be returned. | ||
threshold: 0.3 # Where 0 requires a perfect match and 1 matches anything. | ||
map: | ||
provider: "mapnik" | ||
api_key: "" | ||
zoom: 15 | ||
|
||
# Extensions | ||
extensions: | ||
cms: | ||
branch: main | ||
local_backend: false | ||
isotope: | ||
# Enable if you use the Portfolio widget or Publication filter | ||
enable: true | ||
academicons: | ||
enable: true | ||
|
||
# Citation style | ||
publications: | ||
date_format: January 2006 | ||
citation_style: apa |
Oops, something went wrong.