Skip to content
This repository was archived by the owner on Aug 21, 2019. It is now read-only.

Fix Jekyll Issues #48

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fix Jekyll Issues #48

wants to merge 2 commits into from

Conversation

piohhmy
Copy link

@piohhmy piohhmy commented Jul 5, 2018

This PR fixes a couple issues with the --jekyll flag.

  1. Adds a trailing slash to the permalink. This is required due to gitlab-pages issue #9
  2. Changes the filePath to /letsencrypt.html. This helps because:
    a. Jekyll doesn't by default render any pages in hidden directories (e.g. the default `/.well-known/ dir)
    b. Jekyll gets confused if the target file doesn't have an extension. By adding a .html extension on the filePath it can properly serve it.

piohhmy added 2 commits July 5, 2018 15:44
Changes the path of /.well-known/acme-challange/{key} to /letencrypt.html when --jekyll is used

Resolves 2 issues:
1. By default, Jekyll does not build any files or directories that start
with a '.'.  This causes the default path of starting with .well-known to not work when --jekyll flag is used.
2. Even if the --path option is used to point the {key} file to a
non-hidden directory, jekyll gets confused with the lack of a .html extension and doesn't render it properly
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant