Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion templates/landing.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
</div>

<script type="module">
import { initResponsive, isMobile } from '{{ config.base_url }}/js/core/responsive.js';
import { initResponsive, isMobile } from '{{ config.base_url | safe }}/js/core/responsive.js';

function checkStars() {
initResponsive();
Expand Down
2 changes: 1 addition & 1 deletion templates/macros/cookie_consent.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<div class="cookie-consent-banner__actions">
<button type="button" class="cookie-consent-btn" data-cookie-consent-action="necessary">Necessary Only</button>
<button type="button" class="cookie-consent-btn cookie-consent-btn--primary" data-cookie-consent-action="all">Allow All Cookies</button>
<button type="button" onclick="window.location.href='/privacy/'" class="cookie-consent-btn cookie-consent-btn--quiet">Privacy details</button>
<button type="button" class="cookie-consent-btn cookie-consent-btn--quiet" data-cookie-consent-privacy>Privacy details</button>
</div>
</div>
</div>
Expand Down
4 changes: 1 addition & 3 deletions templates/macros/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,7 @@
{% set resolved_meta_type = meta_type %}
{% endif %}

<title>
{{ resolved_title }}
</title>
<title>{{- resolved_title -}}</title>

<link rel="canonical" href="{{ current_url | safe }}" />

Expand Down
2 changes: 1 addition & 1 deletion templates/macros/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
{% endif %}
<!-- Logo (centered on mobile) -->
<div class="flex-1 flex justify-center items-center lg:flex lg:justify-start">
<a href="/" data-keybind="d h" data-keybind-action="click" data-tooltip-label="Go to home" data-tooltip-shortcut="d h" data-tooltip-position="bottom" class="btn btn-ghost hover:bg-transparent hover:border-transparent normal-case text-xl font-bold text-base-content logo-firefly site-logo-link tooltip tooltip-bottom">
<a href="{{ config.base_url | safe }}/" data-keybind="d h" data-keybind-action="click" data-tooltip-label="Go to home" data-tooltip-shortcut="d h" data-tooltip-position="bottom" class="btn btn-ghost hover:bg-transparent hover:border-transparent normal-case text-xl font-bold text-base-content logo-firefly site-logo-link tooltip tooltip-bottom">
{% if has_theme_specific_logos %}
{# Theme-specific logos stacked in same space to prevent layout shift on switch #}
{% set dark_logo_src = logo_dark_image_path %}
Expand Down
4 changes: 2 additions & 2 deletions templates/macros/seo.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"author": {
"@type": "Person",
"name": "{{ config.author | default(value='') }}",
"url": "{{ config.base_url | safe }}about/"
"url": "{{ config.base_url | safe }}/about/"
}
}
</script>
Expand All @@ -82,7 +82,7 @@
"author": {
"@type": "Person",
"name": "{{ config.author | default(value='Dhanur') }}",
"url": "{{ config.base_url | safe }}about/"
"url": "{{ config.base_url | safe }}/about/"
},
"datePublished": "{{ page.date | date(format='%+') }}",
"dateModified": "{{ page.updated | default(value=page.date) | date(format='%+') }}",
Expand Down
Loading