Skip to content
Snippets Groups Projects
Unverified Commit cd6f9126 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Fix RDFa types of pages

parent 348ab915
No related branches found
No related tags found
No related merge requests found
Pipeline #192608 passed
......@@ -4,7 +4,7 @@
{% set thing = section -%}
{% endif -%}
<!DOCTYPE html>
<html lang="{{ lang }}" data-theme="light" {% if current_path %}resource="https://www.teckids.org{{ current_path }}"{% endif %}>
<html lang="{{ lang }}" data-theme="light" {% if current_path %}resource="https://www.teckids.org{{ current_path }}"{% endif %} typeof="{% block rdfa_type %}{{ thing.extra.microdata.type | default(value='schema:WebPage') }}{% endblock rdfa_type %}">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
......
{% extends "page.html" %}
{% block rdfa_type %}schema:BlogPosting{% endblock %}
{% block content %}
{% set blog_section = get_section(path="blog/_index.md") %}
{% set post = page -%}
<div class="columns mt-4" typeof="schema:BlogPosting">
<div class="columns mt-4">
<meta property="schema:isPartOf" href="{{ blog_section.permalink }}" />
{% if post.extra.microdata.about %}
{% for about in post.extra.microdata.about %}
......
{% extends "base.html" %}
{% block og_type %}website{% endblock %}
{% block rdfa_type %}schema:WebSite{% endblock %}
{% block main %}
{% include "frontpage/claim.html" %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment