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