diff --git a/.gitpod.yml b/.gitpod.yml deleted file mode 100644 index b6a2c1e..0000000 --- a/.gitpod.yml +++ /dev/null @@ -1,42 +0,0 @@ -# Documentation: https://www.gitpod.io/docs/references/gitpod-yml -image: gitpod/workspace-full - -# Task(s) -tasks: - - before: | - gem install bundle - bundle config set --local path 'vendor/bundle' - init: | - bundle update - bundle install - - name: Run type on strap - init: bundle install - command: bundle exec jekyll serve - -# In case the user is trying to make a pull request, he needs GitLens, which by default is not installed. This code will help us install it. -vscode: - extensions: - - eamodio.gitlens - -# Ports configuration, since Gitpod needs to open Type on Strap on a new tab when the server loads up. -ports: - - port: 4000 - onOpen: open-browser - -# For opening workspaces faster than ever, prebuilds are suggested -github: - prebuilds: - # enable for the master/default branch (defaults to true) - master: true - # enable for all branches in this repo (defaults to false) - branches: false - # enable for pull requests coming from this repo (defaults to true) - pullRequests: true - # enable for pull requests coming from forks (defaults to false) - pullRequestsFromForks: true - # add a "Review in Gitpod" button as a comment to pull requests (defaults to true) - addComment: false - # add a "Review in Gitpod" button to pull requests (defaults to false) - addBadge: true - # add a label once the prebuild is ready to pull requests (defaults to false) - addLabel: prebuilt diff --git a/Gemfile b/Gemfile index 43eab55..4ead7cf 100644 --- a/Gemfile +++ b/Gemfile @@ -2,3 +2,4 @@ source "https://rubygems.org" gemspec gem 'icalendar' gem 'redcarpet' +gem 'webrick' diff --git a/_config.yml b/_config.yml index 6428989..a3d3a89 100644 --- a/_config.yml +++ b/_config.yml @@ -37,11 +37,11 @@ color_image: /assets/img/lineart.png # A bit transparent for # For layout customization, go to the "_sass > base" folder, and check "_variables.scss" katex: true # Enable if using math markup mermaid: default # Enable mermaid-js for diagrams, use theme: base, forest, dark, default, neutral -google_analytics: # Tracking ID, e.g. "UA-000000-01" +google_analytics: # Measurement ID, e.g. "G-00000" cookie_consent: false # To respect the usage of cookies color_theme: auto # auto, dark or light -# Comments +# Comments options comments: disqus_shortname: # Your discus shortname for comments cusdis_app_id: # Your cusdis data-app-id diff --git a/_data/biblio.yaml b/_data/biblio.yml similarity index 100% rename from _data/biblio.yaml rename to _data/biblio.yml diff --git a/_data/language.yml b/_data/language.yml index caa51e4..773a007 100644 --- a/_data/language.yml +++ b/_data/language.yml @@ -15,7 +15,10 @@ str_no_result_found: "No result found" str_cookie_approve: "Approve" str_cookie_disclaimer: "We would like to use third party cookies and scripts to improve the functionality of this website." str_months: [Januar, Februar, März, April, Mai, Juni, Juli, August, September, Oktober, November, Dezember] +str_dark: 'Dark' +str_light: 'Light' +str_date_format: '%B %-d, %Y' str_more_blog_entries: "Mehr Blogeinträge..." -# Localization settings +# Localization settings cusdis_lang: # zh-cn, es, tr, pt-BR diff --git a/_data/menu.yml b/_data/menu.yml new file mode 100644 index 0000000..f37f121 --- /dev/null +++ b/_data/menu.yml @@ -0,0 +1,5 @@ +# To add links to the navigation bar. +- type-on-strap: + title: "Wiki" + url: https://wiki.netz39.de + position: 5 diff --git a/_includes/blog/post_footer.liquid b/_includes/blog/post_footer.liquid new file mode 100644 index 0000000..3f937e5 --- /dev/null +++ b/_includes/blog/post_footer.liquid @@ -0,0 +1,56 @@ +{% assign color = include.color %} +{% assign img = include.img %} +{% capture _post_footer %} + + + + + {% if site.post_navigation or site.theme_settings.post_navigation %} + {% include blog/post_nav.liquid %} + {% endif %} + + + {% if site.comments.utterances.repo and site.comments.utterances.issue-term %} + {% include social/utterances.liquid %} + {% endif %} + + + {% if site.comments.cusdis_app_id or site.cusdis_app_id %} + {% include social/cusdis.liquid %} + {% endif %} + + + {% if site.comments.disqus_shortname or site.theme_settings.disqus_shortname or site.disqus_shortname %} + {% include social/disqus.liquid %} + {% endif %} +{% endcapture %} +{{ _post_footer | split: " " | join: " " }} diff --git a/_includes/default/head.liquid b/_includes/default/head.liquid index 0340feb..fcc003d 100644 --- a/_includes/default/head.liquid +++ b/_includes/default/head.liquid @@ -3,17 +3,17 @@ - {% if site.color_theme == 'auto' %} - {% else %} - - {% endif %} @@ -35,18 +35,15 @@ {% endif %} - + {% if site.katex or site.theme_settings.katex %} - + {% endif %} - + {% if site.mermaid %} - + {% endif %} diff --git a/_includes/default/navbar.liquid b/_includes/default/navbar.liquid index 20c5174..b52946f 100644 --- a/_includes/default/navbar.liquid +++ b/_includes/default/navbar.liquid @@ -21,18 +21,20 @@