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
This will work as long as the filename of the post is how-to-bake-a-cake.md, even if the post is located at source/posts/2015-02-my-family-holiday and has permalink 2018/en/how-to-bake-a-cake
I have /source/_post/intro/1/intro_install.md
{% post_link intro-install 'intro install ' %} ,it shoud link to intro_install.md
Actual behavior
after hexo g,hexo s, Post not found: intro-install intro install on the page
# Hexo Configuration## Docs: https://hexo.io/docs/configuration.html## Source: https://github.com/hexojs/hexo/# Sitetitle: AIsubtitle: ''description: ''keywords: 'HomeAssitant HA 'author:
language: zh-CNtimezone: 'Asia/Shanghai'# URL## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'url: http://hai-ai.gitee.iopermalink: :title.htmlpermalink_defaults:
pretty_urls:
trailing_index: true # Set to false to remove trailing 'index.html' from permalinkstrailing_html: true # Set to false to remove trailing '.html' from permalinks# Directorysource_dir: sourcepublic_dir: publictag_dir: tagsarchive_dir: archivescategory_dir: categoriescode_dir: downloads/codei18n_dir: :langskip_render:
# Writingnew_post_name: :year/:month/:title.md # File name of new postsdefault_layout: posttitlecase: false # Transform title into titlecaseexternal_link:
enable: true # Open external links in new tabfield: site # Apply to the whole siteexclude: ''filename_case: 0render_drafts: falsepost_asset_folder: falserelative_link: falsefuture: truehighlight:
enable: trueline_number: trueauto_detect: falsetab_replace: ''wrap: truehljs: falseprismjs:
enable: falsepreprocess: trueline_number: truetab_replace: ''# Home page setting# path: Root path for your blogs index page. (default = '')# per_page: Posts displayed per page. (0 = disable pagination)# order_by: Posts order. (Order by date descending by default)index_generator:
path: ''per_page: 10order_by:
top: -1date: 1archive_generator:
enabled: trueper_page: 10yearly: truemonthly: truedaily: falseorder_by:
date: 1category_generator:
per_page: 10order_by:
top: -1date: 1tag_generator:
per_page: 10order_by:
top: -1date: 1# Category & Tagdefault_category: uncategorizedcategory_map:
tag_map:
# Metadata elements## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/metameta_generator: true# Date / Time format## Hexo uses Moment.js to parse and display date## You can customize the date format as defined in## http://momentjs.com/docs/#/displaying/format/date_format: YYYY-MM-DDtime_format: HH:mm:ss## updated_option supports 'mtime', 'date', 'empty'updated_option: 'mtime'# Pagination## Set per_page to 0 to disable paginationper_page: 10pagination_dir: page# Include / Exclude file(s)## include:/exclude: options only apply to the 'source/' folderinclude:
exclude:
ignore:
# Extensions## Plugins: https://hexo.io/plugins/## Themes: https://hexo.io/themes/theme: hueman# Deployment## Docs: https://hexo.io/docs/one-command-deploymentdeploy:
type: gitrepo: https://gitee.com/hai-ai/hai-ai.gitbranch: master
This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Check List
Please check followings before submitting a new issue.
hexo version
to check)Expected behavior
For instance: {% post_link how-to-bake-a-cake %}.
This will work as long as the filename of the post is how-to-bake-a-cake.md, even if the post is located at source/posts/2015-02-my-family-holiday and has permalink 2018/en/how-to-bake-a-cake
I have /source/_post/intro/1/intro_install.md
{% post_link intro-install 'intro install ' %} ,it shoud link to intro_install.md
Actual behavior
after hexo g,hexo s, Post not found: intro-install intro install on the page
How to reproduce?
Is the problem still there under "Safe mode"?
Environment & Settings
Node.js & npm version(
node -v && npm -v
)Your site
_config.yml
(Optional)Your theme
_config.yml
(Optional)Hexo and Plugin version(
npm ls --depth 0
)Your package.json
package.json
Others
The text was updated successfully, but these errors were encountered: