-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: Enhance Head Tag Logic and Support Custom RSS Links
1. Modified `default.hbs` to include conditional logic for the head tag. This update ensures that for all pages except `/links`, the standard head tag content is rendered using `ghost_head`. When the page is `/links`, a customized head tag is handled in `links.hbs`, including a link to the RSS feed specifically for the links page. 2. In `links/rss.hbs`, updated the title tag to prepend the name of the links page to the blog's top-level title. 3. Fragile change: in `links.hbs` now manually inserting the content typically generated by `ghost_head` in the head tag. Although not ideal, this change ensures the head tag correctly references the custom RSS feed for the `/links` page. This approach is a temporary workaround, and hopefully a more robust solution will be sought in future updates.
- Loading branch information
1 parent
7b31887
commit 5317e88
Showing
3 changed files
with
136 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters