mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-11-17 08:25:53 +00:00
🐛 Fix i18n apostrophes in JS, schema author image, avatar crops
JSON-encode i18n strings injected into appearance.js (#3040), resolve and publish the original author image for the JSON-LD schema (#3037), and anchor avatar crops to Center so small and zoomed framings match (#3016). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b6e4156e6b
commit
b05eff3b30
6 files changed
+25
-13
No files matched your search
@@ -55,8 +55,8 @@ window.addEventListener("DOMContentLoaded", (event) => {
|
||||
const switcherMobile = document.getElementById("appearance-switcher-mobile");
|
||||
|
||||
// Load the i18n translations for the tooltips
|
||||
const darkLabel = '{{ i18n "footer.dark_appearance" }}';
|
||||
const lightLabel = '{{ i18n "footer.light_appearance" }}';
|
||||
const darkLabel = {{ i18n "footer.dark_appearance" | jsonify }};
|
||||
const lightLabel = {{ i18n "footer.light_appearance" | jsonify }};
|
||||
|
||||
updateMeta();
|
||||
this.updateLogo?.(getTargetAppearance());
|
||||
|
||||
Reference in new issue
Block a user