Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/actions/sync/shared-config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -451,11 +451,16 @@ def git(*args)
"#{brewsh_assets_url}/assets/#{Regexp.last_match(1)}/#{Regexp.last_match(2)}"
end
unless has_posts
updated_contents = updated_contents
.gsub("form-action 'self' https://buttondown.email;", "form-action 'self';")
.gsub("The `jekyll-feed` and `jekyll-seo-tag` plugins use",
"The `jekyll-seo-tag` plugin uses")
.gsub("control this behavior in the plugins,", "control this behavior in the plugin,")
updated_contents = updated_contents.gsub(
/
\n\s*\{% if site\.feed and site\.posts\.size > 0 -%\}
\n\s*\{% include feed\.html -%\}
\n\s*\{% endif -%\}
\n\s*\{%\s*if\s+site\.feed\s+and\s+site\.posts\.size\s*>\s*0\s*-?%\}
\n\s*\{%\s*include\s+feed\.html\s*-?%\}
\n\s*\{%\s*endif\s*-?%\}
/x,
"",
)
Expand Down
Loading