<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width,initial-scale=1">
    <meta lang="de"> <!-- HowTo correct?-->
    <meta name="author" content="{{ .Site.Params.author }}">
    <meta name="keywords" content="{{ delimit .Keywords `, ` `, und ` }}">
    <meta name="description" content="
      {{- with .Page.Description -}}
        {{ . }}
      {{- else -}}
        {{ .Site.Params.description }}
      {{- end -}}">
    <link rel="stylesheet" href="{{ "css/syntax.css"
    | relURL }}">
    <link rel="stylesheet" href="{{ "css/style.css"
    | relURL }}">
    
    <!-- RSS -->
    {{ range .AlternativeOutputFormats -}}
      {{- $link := `<link rel="%s" type="%s" href="%s" title="%s">` -}}
      {{- $title := printf "%s - %s" $.Page.Title $.Site.Title -}}
    
        {{- if $.Page.IsHome -}}
          {{ $title = $.Site.Title }}
        {{- end -}}
        
        {{ printf $link .Rel .MediaType.Type .Permalink $title | safeHTML }}
        {{- end }}
	<title>
      {{- if .Page.IsHome -}}
        {{ .Site.Title }}
      {{- else -}}
        {{ .Title }} - {{ .Site.Title }}
      {{- end -}}
    </title>
</head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-TT2JW5ZYFZ"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-TT2JW5ZYFZ');
</script>
<!--
<script>
	var remark_config = {
		host: "http://192.168.178.24:8080",
		site_id: "remark",
    locale: "de"
  }
</script>-->

<script>
  var remark_config = {
    // Gebruik de nieuwe Railway URL
    host: 'https://remark42hugo-neocities-org.up.railway.app', 
    
    // De site ID moet overeenkomen met de REMARK_SITE variabele
    site_id: 'neocities', 
    
    locale: 'de', 
    allowAnon: true, 
    url: '{{ .Permalink }}', 
    theme: 'light' 
  };

// Laad de embed code vanaf de Railway host
  (function(c) {
    for(var i = 0; i < c.length; i++) {
      var d = document, s = d.createElement('script');
      s.src = c[i];
      (d.head || d.body).appendChild(s);
    }
  })(['https://remark42hugo-neocities-org.up.railway.app/web/config.js', 
      'https://remark42hugo-neocities-org.up.railway.app/web/embed.js']);
</script>