You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i change root config, download link of include_code dose not work correctly
_config.yml:
# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: http://yoursite.com
root: /test/
permalink: :year/:month/:day/:title/
tag_dir: tags
archive_dir: archives
category_dir: categories
code_dir: downloads/code
permalink_defaults:
# ... other configs
source/_post/My-New-Post.md:
title: My New Post
date: 2014-11-18 22:11:46
tags:
---
{% include_code test.html lang:html test.html %}
download link in page: http://localhost:4000/downloads/code/test.html
when i change
root
config, download link ofinclude_code
dose not work correctly_config.yml:
source/_post/My-New-Post.md:
download link in page:
http://localhost:4000/downloads/code/test.html
expected download link:
http://localhost:4000/test/downloads/code/test.html
and console:
GET /downloads/code/test.html 404 2.802 ms - 37
extra info:
The text was updated successfully, but these errors were encountered: