issues
search
LeNPaul
/
Lagrange
A minimalist Jekyll theme for running a personal blog powered by Jekyll and GitHub Pages
https://lenpaul.github.io/Lagrange/
MIT License
681
stars
655
forks
source link
Added site.baseurl for cases where site is served from sub-directory
#92
Open
huyen-nguyen
opened
3 years ago
huyen-nguyen
commented
3 years ago
Added
baseurl
as in
{{ site.url }}{{ site.baseurl }}
to prepend to the url.
url
and
baseurl
are specified in _config.yml, where:
url
: Root of the domain, including protocol, domain, and port (if applicable), e.g.,
https://example.com
baseurl
: Optional. Name of sub-directory where the site is served from, e.g.,
/Lagrange
in
https://example.com/Lagrange
baseurl
as in{{ site.url }}{{ site.baseurl }}
to prepend to the url.url
andbaseurl
are specified in _config.yml, where:url
: Root of the domain, including protocol, domain, and port (if applicable), e.g., https://example.combaseurl
: Optional. Name of sub-directory where the site is served from, e.g.,/Lagrange
in https://example.com/Lagrange