Disable zooming on schedule page, so mobile browsers respect `position: sticky`
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luca 2022-08-29 15:56:31 +02:00
parent cba4ab18f9
commit 9544af57f3
3 changed files with 11 additions and 0 deletions

View File

@ -1,6 +1,7 @@
---
title: "Programm"
slug: "schedule"
layout: nozoom
menu:
main:
weight: 15

View File

@ -3,7 +3,9 @@
<html lang="{{ .Site.LanguageCode }}">
<head>
<meta charset="utf-8">
{{ block "viewport" . }}
<meta name="viewport" content="width=device-width,initial-scale=1.0">
{{ end }}
<meta property="og:site_name" content="{{ .Site.Title }}">
<meta property="og:title" content="{{ .Site.Title }} {{ .Title }}">
<meta property="og:type" content="website">

View File

@ -0,0 +1,8 @@
{{ define "viewport" }}
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0">
{{ end }}
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ end }}