Compare commits
2 Commits
668d9c7df8
...
66edfca7dc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
66edfca7dc | ||
|
|
fda91bbea6 |
@@ -2,6 +2,9 @@
|
||||
{# Context expected:
|
||||
site, post, request
|
||||
#}
|
||||
{% if post is not defined %}
|
||||
{% include 'social/meta_base.html' %}
|
||||
{% else %}
|
||||
|
||||
{# Visibility → robots #}
|
||||
{% set is_public = (post.visibility == 'public') %}
|
||||
@@ -122,3 +125,4 @@
|
||||
<script type="application/ld+json">
|
||||
{{ jsonld | tojson }}
|
||||
</script>
|
||||
{% endif %}
|
||||
|
||||
@@ -29,11 +29,10 @@
|
||||
|
||||
{# Calendars #}
|
||||
{% for calendar in calendars %}
|
||||
{% set local_href=url_for('blog.post.calendars.calendar.get', slug=post.slug, calendar_slug=calendar.slug) %}
|
||||
{% set href=local_href|host %}
|
||||
{% set local_href=events_url('/calendars/' + calendar.slug + '/') %}
|
||||
<a
|
||||
href="{{ local_href }}"
|
||||
hx-get="{{ href }}"
|
||||
hx-get="{{ local_href }}"
|
||||
hx-target="#main-panel"
|
||||
hx-select="{{ hx_select_search }}"
|
||||
hx-swap="outerHTML"
|
||||
|
||||
Reference in New Issue
Block a user