<commit_before>{{ define "title"}}
<title>{{ .Title }} - {{ .Site.Title }}</title>
{{ end }}

{{ define "head" }}
{{ range .AlternativeOutputFormats -}}
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
{{ end -}}
<meta property="og:title" content="{{ .Site.Title }} {{ .Title }}" />
<meta property="og:type" content="website" />
<meta property="og:url" content="{{ .Permalink }}" />
{{ with .Params.img_header }}<meta property="og:image" content="{{ . }}" />{{ end }}
{{with .Params.meta}}
<meta property="og:description" content="{{.}}">
<meta name="description" content="{{.}}">
{{end}}
{{ end }}


{{ define "main" }}
{{ $events := where .Site.Data.events "show" true }}
{{ $lang := .Lang }}
{{ $kind := .Params.type }}
<main>
  <div class="container l__team">
    <div class="row l__team__title">
      <h1 class="col col-12 col-sm-10">
        {{ if eq $lang "en"}}
          Events
        {{ else }}
          Veranstaltungen
        {{ end }}
      </h1>
      <ul class="l__blog__posts container mt-d">

        {{ range $events }}
        {{ if eq $kind "current" }}
          {{ if and (.startdate) ((time .startdate).After now) }}
          {{- partial "event_item.html" . -}}
          {{ end }}
        {{ else if eq $kind "past" }}
          {{ if and (.startdate) ((time .startdate).Before now) }}
          {{- partial "event_item.html" . -}}
          {{ end }}
        {{ end }}
        {{ end }}
      </ul>

    </div><commit_msg>changed title of "past events" page<commit_after>{{ define "title"}}
<title>{{ .Title }} - {{ .Site.Title }}</title>
{{ end }}

{{ define "head" }}
{{ range .AlternativeOutputFormats -}}
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
{{ end -}}
<meta property="og:title" content="{{ .Site.Title }} {{ .Title }}" />
<meta property="og:type" content="website" />
<meta property="og:url" content="{{ .Permalink }}" />
{{ with .Params.img_header }}<meta property="og:image" content="{{ . }}" />{{ end }}
{{with .Params.meta}}
<meta property="og:description" content="{{.}}">
<meta name="description" content="{{.}}">
{{end}}
{{ end }}


{{ define "main" }}
{{ $events := where .Site.Data.events "show" true }}
{{ $lang := .Lang }}
{{ $kind := .Params.type }}
<main>
  <div class="container l__team">
    <div class="row l__team__title">
      <h1 class="col col-12 col-sm-10">
        {{ if eq $lang "en"}}
        {{ if eq $kind "current" }}Events{{ else }}Past Events{{ end }}
        {{ else }}
        {{ if eq $kind "current" }}Veranstaltungen{{ else }}Vergangene Veranstaltungen{{ end }}
        {{ end }}
      </h1>
      <ul class="l__blog__posts container mt-d">

        {{ range $events }}
        {{ if eq $kind "current" }}
          {{ if and (.startdate) ((time .startdate).After now) }}
          {{- partial "event_item.html" . -}}
          {{ end }}
        {{ else if eq $kind "past" }}
          {{ if and (.startdate) ((time .startdate).Before now) }}
          {{- partial "event_item.html" . -}}
          {{ end }}
        {{ end }}
        {{ end }}
      </ul>

    </div>
{'fraction_non_alphanumeric': 0.23616, 'fraction_numerical': 0.00384, 'mean_word_length': 2.6096997690531176, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1180653', 'n_tokens_mistral': 1028, 'n_tokens_neox': 1005, 'n_words': 254}