chore: update KeepIt theme submodule to latest (security)#3
Open
0xOperant wants to merge 5 commits into
Open
Conversation
Advances submodule from fe8c3e3 to 4724724 to pick up upstream fixes including search query sanitization (may address jquery CVE-2019-11358). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Required to deploy the KeepIt theme update on current Hugo (0.161+): - Replace getJSON-based twitter shortcodes (removed in Hugo) with static blockquote+link embeds. The defunct api.twitter.com oEmbed endpoint this shortcode called no longer works anyway. - config.toml: :filename permalink token → :contentbasename (removed in Hugo 0.144.0). - config.toml: [privacy.twitter] → [privacy.x] (renamed/removed in Hugo 0.141.0). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Switches from a static link to the standard X/Twitter embed: a blockquote hydrated client-side by platform.twitter.com/widgets.js. The script is loaded once per page via Page.Scratch. data-dnt="true" preserves the Do-Not-Track behavior previously set via privacy.twitter.enableDNT. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Hugo removed _internal/google_analytics_async.html; the remaining _internal/google_analytics.html now handles both sync and async output (it generates the modern gtag.js async snippet by default). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Verified against a local hugo 0.161.1 build (same version CI pins to
'latest'). 95 pages render, exit 0, only a harmless languageCode
deprecation warning remains.
- layouts/partials/css.html: resources.ToCSS → css.Sass
(resources.ToCSS removed in Hugo 0.128.0).
- layouts/partials/seo_schema.html, rss.xml, index.atom.xml:
.Site.Author.* → .Site.Params.Author.* (.Site.Author removed).
- config.toml: convert string `params.author = "Dave Bell"` to a
[params.author] table with name/email/link/handle, and drop the
separate root-level [author] block. Theme requires the table form.
- layouts/{_default,page}/single.html, partials/footer.html: update
consumers of the old `.Site.Params.author` string to the new
`.Site.Params.Author.name` table field.
- config.toml: add `ignoreFiles = ['themes/KeepIt/content/']` so the
KeepIt example posts (which use the removed `gist` shortcode) don't
bleed into the site or break the build.
- config.toml: add `ignoreLogs = ['warning-goldmark-raw-html']` to
quiet expected raw-HTML warnings.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Owner
Author
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
Owner
Author
|
@claude try again |
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
Owner
Author
|
@claude try now |
|
Claude encountered an error after 0s —— View job I'll analyze this and get back to you. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
themes/KeepItsubmodule fromfe8c3e3→4724724Test plan
🤖 Generated with Claude Code