asciidoctor / jekyll-asciidoc-quickstart

A template project for creating AsciiDoc-based websites using Jekyll.
https://asciidoctor.github.io/jekyll-asciidoc-quickstart/
MIT License
119 stars 159 forks source link

Post Link `First Entry` is broken #42

Closed tssmith7 closed 9 months ago

tssmith7 commented 9 months ago

The First Entry post link is broken. The link is set to https://asciidoctor.github.io/2015/01/01/first-entry.html but should be https://asciidoctor.github.io/jekyll-asciidoc-quickstart/2015/01/01/first-entry.html

tssmith7 commented 9 months ago

Figured it out. You need to add:

baseurl: /jekyll-asciidoc-quickstart

to the _config.yml file.

mojavelinux commented 9 months ago

This is an extra requirement of publishing to GitHub Pages. I've added a patch during the workflow that will insert the baseurl at build time.

resolved by daea8d1b1b72cf36a52e2b1103c70d1b76ccd3b5 and 327830445cd960808f7efcaf707062b655a70868