update jekyll config

This commit is contained in:
viessm_h 2024-11-15 15:49:39 +01:00
parent e72a8fd35e
commit a74fd2c13f
Signed by: viessm_h
GPG Key ID: 0C24C120CDED56F0
2 changed files with 17 additions and 17 deletions

View File

@ -11,26 +11,28 @@ Live pages are available at https://lsm-hpce.gitpages.psi.ch.
The easiest and most reproducable way to test changes is using docker. The easiest and most reproducable way to test changes is using docker.
From the top directory, run the following: From the top directory, run the following:
``` ```console
docker-compose up $ docker compose build
$ docker compose up
``` ```
This will start a webserver on `http://0.0.0.0:4000/`. Changes to most pages This will start a webserver on `http://0.0.0.0:4001/`. Changes to most pages
will be automatically reflected in the website (with the exception of changes will be automatically reflected in the website (with the exception of changes
to _config.yml, which requires restarting the webserver). to `config.yml`, which requires restarting the webserver).
### Running locally ### Running locally
Building locally requires ruby 2.5 and bundler. To install: Building locally requires ruby 2.5 and bundler. To install:
``` ```console
gem install bundler jekyll $ gem install bundler jekyll
bundle $ bundle
``` ```
To run a local webserver: To run a local webserver:
``` ```console
bundle exec jekyll serve $ bundle exec jekyll serve
``` ```
## Theme ## Theme
@ -62,4 +64,4 @@ by Tom Johnson.
Theme content is licensed under the MIT license. Theme content is licensed under the MIT license.
The Navgoco jQuery component used in the sidebar is licensed under the BSD The Navgoco jQuery component used in the sidebar is licensed under the BSD
license. license.
See licenses subdirectory for license terms. See licenses subdirectory for license terms.

View File

@ -19,10 +19,6 @@ github_editme_path:
# gitlab_editme_path: tomjoht/documentation-theme-jekyll/blob/gh-pages/ # gitlab_editme_path: tomjoht/documentation-theme-jekyll/blob/gh-pages/
# if you're using GitLab, provide the basepath to the branch you've created for reviews, following the sample here. if not, leave this value blank. # if you're using GitLab, provide the basepath to the branch you've created for reviews, following the sample here. if not, leave this value blank.
disqus_shortname:
#disqus_shortname: idratherbewriting
# if you're using disqus for comments, add the shortname here. if not, leave this value blank.
google_analytics: google_analytics:
#google_analytics: UA-66296557-1 #google_analytics: UA-66296557-1
# if you have google-analytics ID, put it in. if not, edit this value to blank. # if you have google-analytics ID, put it in. if not, edit this value to blank.
@ -87,6 +83,7 @@ defaults:
values: values:
layout: "page" layout: "page"
comments: true comments: true
# if you don't want to use Commento.io and just hide comments, change true to false wherever you see the comments property
search: true search: true
sidebar: home_sidebar sidebar: home_sidebar
topnav: topnav topnav: topnav
@ -97,6 +94,7 @@ defaults:
values: values:
layout: "page" layout: "page"
comments: true comments: true
# if you don't want to use Commento.io and just hide comments, change true to false wherever you see the comments property
search: true search: true
tooltip: true tooltip: true
@ -107,6 +105,7 @@ defaults:
values: values:
layout: "post" layout: "post"
comments: true comments: true
# if you don't want to use Commento.io and just hide comments, change true to false wherever you see the comments property
search: true search: true
sidebar: home_sidebar sidebar: home_sidebar
topnav: topnav topnav: topnav
@ -120,13 +119,12 @@ sidebars:
- product2_sidebar - product2_sidebar
- other - other
description: "Merlin 6 is the HPC cluster at Paul Scherrer Institute in Switzerland." description: "Merlin is the HPC cluster at Paul Scherrer Institute in Switzerland."
# the description is used in the feed.xml file # the description is used in the feed.xml file
# needed for sitemap.xml file only # needed for sitemap.xml file only
# url: http://idratherbewriting.com
# baseurl: /documentation-theme-jekyll
url: "https://lsm-hpce.gitpages.psi.ch" url: "https://lsm-hpce.gitpages.psi.ch"
baseurl: / baseurl: /
github: [metadata] github: [metadata]