Fix page attributes in site header
All checks were successful
Build / build (push) Successful in 2m39s

This commit is contained in:
Frederik Ring 2023-09-03 17:27:39 +02:00
parent 4c93199fa2
commit 12761b809c
3 changed files with 8 additions and 8 deletions

View File

@ -31,5 +31,6 @@ build:
@rm -rf output && mkdir output
@docker create --entrypoint=bash --name assets offen/software-builder-website
@docker cp assets:/code/website/output/. ./output/
@rm -rf output/theme/.webassets-cache
@docker rm assets
@docker rmi offen/software-builder-website:latest

View File

@ -18,4 +18,4 @@ COPY ./build /code/build
ARG siteurl
ENV SITEURL=$siteurl
RUN make publish && rm -rf output/theme/.webassets-cache
RUN make publish

View File

@ -3,21 +3,20 @@
{% block head %}
<head>
<title>
{% block title %}{{ title }}{% endblock %}
{% block title %}{{ page.title }}{% endblock %}
</title>
<meta charset="UTF-8">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline' *.analyticstxt.org; frame-src 'self' *.analyticstxt.org; style-src 'self' 'unsafe-inline'">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5">
<meta name="description" content="{{ description }}">
<meta property="og:site_name" content="{{ SITENAME }}">
<meta property="og:locale" content="{{ DEFAULT_LANG }}">
<meta property="og:title" content="{{ title }}">
<meta property="og:description" content="{{ description }}">
<meta property="og:title" content="{{ page.title }}">
<meta property="og:description" content="{{ page.description }}">
<meta property="og:type" content="website">
<meta property="og:url" content="{{ SITEURL }}/{{ href }}">
<link rel="canonical" href="{{ SITEURL }}/{{ href }}">
<link rel="shortcut icon" type="image/x-icon" href="/theme/images/favicon.ico">
<meta property="og:url" content="{{ SITEURL }}/{{ page.href }}">
<link rel="canonical" href="{{ SITEURL }}/{{ page.href }}">
{% assets filters="postcss", output="css/style.min.css", "css/tachyons.min.css", "css/styles.css" %}
<link rel="stylesheet" href="/{{ ASSET_URL }}">
{% endassets %}