Abs link patch (#506)
* Fix absolute URL generation url and baseurl config for this theme deviates from jekyll standard, and that results in double inclusion of project path if this theme is used as project page. Switching to Jekyll accepted url usage so that absolute_url filter works. * Alternate links need to be aboslute * mention url and baseurl only need to be modified in local dev * Update readme on new url/baseurl setting changes
This commit is contained in:
parent
7061f6be17
commit
9d429fa749
10 changed files with 52 additions and 42 deletions
26
_config.yml
26
_config.yml
|
@ -1,23 +1,20 @@
|
|||
# --- General options --- #
|
||||
|
||||
# url is the full website URL
|
||||
# baseurl is the website's URL without the hostname
|
||||
|
||||
# If you are building a simple GitHub user page (https://username.github.io) then use these settings:
|
||||
url: "https://username.github.io"
|
||||
baseurl: ""
|
||||
|
||||
# If you are building a GitHub project page then use these settings:
|
||||
#url: "http://username.github.io/projectname"
|
||||
#baseurl: "/projectname"
|
||||
|
||||
# Of course don't forget to change the username and projectname to YOUR username and project
|
||||
|
||||
# Name of website
|
||||
title: My website
|
||||
|
||||
# Short description of your site
|
||||
description: A virtual proof that name is awesome!
|
||||
description: A virtual proof that I'm awesome
|
||||
|
||||
# --- Local development options ---
|
||||
# If your website is hosted locally rather than on GitHub, then you need to uncomment the next two parameters to set the url and baseurl
|
||||
# *** If you're not sure what this mean, then leave this section as it is. Only modify the url and baseurl if you know what you're doing!***
|
||||
|
||||
# url is the the website domain URL without a trailing slash
|
||||
#url: "https://example.com"
|
||||
|
||||
# baseurl should be an empty string
|
||||
#baseurl: ""
|
||||
|
||||
# --- Navigation bar options --- #
|
||||
|
||||
|
@ -27,7 +24,6 @@ navbar-links:
|
|||
Resources:
|
||||
- Beautiful Jekyll: "http://deanattali.com/beautiful-jekyll/"
|
||||
- Learn markdown: "http://www.markdowntutorial.com/"
|
||||
- GitHub Pages: "https://pages.github.com/"
|
||||
Author's home: "http://deanattali.com"
|
||||
|
||||
# Image to show in the navigation bar - image must be a square (width = height)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue