{{ $title := .Params.seo_title | default (.Params.headline | plainify) | default (.Title | plainify) | default .Site.Title }} {{ if (.Params.format_seo_title | default true) }} {{ $title = $title | title }} {{ end }} {{ $title_suffix := "" }} {{ if not .Params.hide_seo_title_suffix }} {{ $title_suffix = .Params.seo_title_suffix | default .Site.Params.seo_title_suffix | default "" }} {{ end }} {{ $full_title := printf "%s%s" $title $title_suffix }} {{ $full_title }} {{ if isset .Page.Params "redirect_url" }} {{ end }} {{- with .Description | default .Page.Params.summary | default .Site.Params.description | plainify }} {{- $description_clean_pattern := "{{[\\s\\S]*? }}\\s*" -}} {{- with . | replaceRE $description_clean_pattern " " | truncate 160 }} {{- end }} {{- end }} {{- with .Page.Params.author }} {{- end }} {{- with .Params.page_favicon | default .Site.Params.favicon | default "https://www.eclipse.org/favicon.ico" }} {{- end -}} {{- with .Page.Params.metatag_robots }} {{- end }} {{- with .Params.share_img | default .Params.image | default .Site.Params.share_img | default .Site.Params.logo }} {{- end }} {{- with .Site.Params.author.twitter }} {{- end }} {{- with .Site.Params.fb_app_id }} {{- end }} {{- with .Keywords | default .Site.Params.keywords }} {{ end }} {{ hugo.Generator -}} {{ $canonical_url := (.Page.Params.canonical_url | default .Permalink) | absLangURL }} {{ with .OutputFormats.Get "RSS" }} {{ end }} {{ if ne .Page.Params.disable_css "true" }} {{- $default_css := "https://www.eclipse.org/public/css/neptune.css" -}} {{- $site_styles := .Site.Params.styles -}} {{- $page_styles := .Page.Params.styles -}} {{- if $site_styles -}} {{- range $site_styles -}} {{- $href := .url | relURL -}} {{- if .cache -}} {{- $href = printf "%s?v=%d" $href now.Unix -}} {{- end -}} {{- end }} {{- else if .Site.Params.styles -}} {{- warnf "Param 'Params.styles' is deprecated. Use [[Params.styles]] array instead. See https://webdev.eclipse.org/docs/hugo/" -}} {{- with .Site.Params.style_overrides }} {{- warnf "Param 'Params.style_overrides' is deprecated. Use [[Params.styles]] array instead. See https://webdev.eclipse.org/docs/hugo/" -}} {{- end }} {{- else -}} {{- end }} {{- range $page_styles -}} {{- $href := .url | relURL -}} {{- if .cache -}}{{- $href = printf "%s?v=%d" $href now.Unix -}}{{- end -}} {{- end }} {{- if not $page_styles -}} {{- with .Page.Params.page_css_file }} {{- warnf "Page param 'page_css_file' is deprecated. Use the page-level styles array instead. See https://webdev.eclipse.org/docs/hugo/" -}} {{- end }} {{- end }} {{- end }} {{- partial "google_tag_manager.html" . }} {{- partial "head_variables.html" . }} {{ $metadata := .Page.Params.metadata | default slice }} {{ range $metadata }} {{ $path_parts := split .path "/" }} {{ $data := $.Site.Data }} {{ range $path_parts }} {{ $data = index $data . }} {{ end }} {{ if eq .type "ld+json" }} {{ end }} {{ end }}