A website's `<title>` cannot contain further html formatting and layouting elements. Thus, as already done in the article template, additional html tags need to be stripped from the title to not appear in verbatim in a browser's title page. This is relevant when using TYPOGRIFY integration, as that might also augment a page title with further html elements automatically.
		
			
				
	
	
		
			29 lines
		
	
	
	
		
			838 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
	
		
			838 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
{% extends "base.html" %}
 | 
						|
 | 
						|
{% block meta %}
 | 
						|
{{ super() }}
 | 
						|
 | 
						|
{% if page.translations -%}
 | 
						|
<link rel="alternate" href="{{ SITEURL }}/{{ page.url }}" hreflang="{{ page.lang }}" />
 | 
						|
{% for p in page.translations %}
 | 
						|
<link rel="alternate" href="{{ SITEURL }}/{{ p.url }}" hreflang="{{ p.lang }}" />
 | 
						|
{% endfor %}
 | 
						|
{% endif %}
 | 
						|
{% endblock %}
 | 
						|
 | 
						|
{% block title %} – {{ page.title|striptags|escape }}{% endblock %}
 | 
						|
 | 
						|
{% block content %}
 | 
						|
<article class="single">
 | 
						|
  <header>
 | 
						|
    {% import 'partial/translations.html' as translations with context %}
 | 
						|
    {{ translations.translations_for(page) }}
 | 
						|
    <h1 id="{{ page.slug }}">{{ page.title }}</h1>
 | 
						|
  </header>
 | 
						|
  <div>
 | 
						|
    {% block before_content %}{% endblock %}
 | 
						|
    {% block page_content %}{{ page.content }}{% endblock %}
 | 
						|
    {% block after_content %}{% endblock %}
 | 
						|
  </div>
 | 
						|
</article>
 | 
						|
{% endblock %}
 |