Skip to content

Commit

Permalink
added feed to my website
Browse files Browse the repository at this point in the history
  • Loading branch information
SyedMSawaid committed Jan 24, 2025
1 parent e3e5e68 commit 0040e2d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,5 @@ gem "puma", "< 7"
gem "colorize", "~> 1.1"

gem "bridgetown_internal_markdown_links", "~> 0.2.0"

gem "bridgetown-feed", "~> 3.1"
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ GEM
thor (~> 1.1)
tilt (~> 2.0)
zeitwerk (~> 2.5)
bridgetown-feed (3.1.2)
bridgetown (>= 1.2.0.beta2, < 2.0)
bridgetown-paginate (1.3.4)
bridgetown-core (= 1.3.4)
bridgetown_internal_markdown_links (0.2.0)
Expand Down Expand Up @@ -117,6 +119,7 @@ PLATFORMS

DEPENDENCIES
bridgetown (~> 1.3.2)
bridgetown-feed (~> 3.1)
bridgetown_internal_markdown_links (~> 0.2.0)
colorize (~> 1.1)
puma (< 7)
Expand Down
2 changes: 2 additions & 0 deletions config/initializers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,6 @@
# For internal linking between docs
init :bridgetown_internal_markdown_links
config.internal_markdown_links.collections = ["posts"]

init :"bridgetown-feed"
end
1 change: 1 addition & 0 deletions src/_layouts/default.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
{% render 'analytics' %}
{% render 'head', metadata: site.metadata, title: data.title %}
{% feed_meta %}
</head>
<body class="flex flex-col items-center justify-center">
{% render 'no_script' %}
Expand Down

0 comments on commit 0040e2d

Please sign in to comment.