standard-for-public-code / community-implementation-guide-standard

Community built implementation guide for the Standard for Public Code
https://standard-for-public-code.github.io/community-implementation-guide-standard/
Creative Commons Zero v1.0 Universal
0 stars 3 forks source link

Fix broken links on index page #66

Closed Ainali closed 1 year ago

Ainali commented 1 year ago

Fixes #65

ericherman commented 1 year ago

To get things to run on my laptop, I needed:

diff --git a/Gemfile b/Gemfile
index 49f7313..1496e19 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,3 +2,5 @@ source "https://rubygems.org"
 gem 'github-pages', group: :jekyll_plugins
 gem 'html-proofer', '~>3.19'
 gem 'mdl'
+
+gem "webrick", "~> 1.7"

Then, I was able to reproduce the error; it seems that the jykell-theme may not add base-url in many places it should.

To get the tests to pass locally, I removed base-url:

diff --git a/_config.yml b/_config.yml
index 2a1810f..40b4df3 100644
--- a/_config.yml
+++ b/_config.yml
@@ -10,7 +10,7 @@ include:
   - "LICENSE.md"
   - "CODE_OF_CONDUCT.md"

-baseurl: /community-implementation-guide-standard
+# baseurl: /community-implementation-guide-standard

 toc: true

But I'm reasonably sure that will cause problems when deployed.