Skip to content

Commit

Permalink
Update generated link for each post
Browse files Browse the repository at this point in the history
  • Loading branch information
LebCit committed Aug 24, 2023
1 parent 49ccb35 commit b3120b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion views/themes/clean-blog/layouts/rss.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<% it.posts.forEach(post => { %>
<item>
<title><%= post[1].frontmatter.title %></title>
<link><%= it.siteURL + post[0].replace(/\.[^/.]+$/, "") %></link>
<link><%= it.siteURL + "posts/" + post[0].replace(/\.[^/.]+$/, "") %></link>
<% if (post[1].frontmatter.description) { %>
<description><%= post[1].frontmatter.description %></description>
<% } %>
Expand Down
2 changes: 1 addition & 1 deletion views/themes/default/layouts/rss.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<% it.posts.forEach(post => { %>
<item>
<title><%= post[1].frontmatter.title %></title>
<link><%= it.siteURL + post[0].replace(/\.[^/.]+$/, "") %></link>
<link><%= it.siteURL + "posts/" + post[0].replace(/\.[^/.]+$/, "") %></link>
<% if (post[1].frontmatter.description) { %>
<description><%= post[1].frontmatter.description %></description>
<% } %>
Expand Down

0 comments on commit b3120b6

Please sign in to comment.