web-bvebarcelona/themes/dark-cosmos/layouts/partials/header.html

64 lines
1.6 KiB
HTML
Raw Normal View History

2018-03-04 19:45:46 +01:00
<!DOCTYPE html>
<html>
<head>
<title>{{ .Title }} - {{ .Site.Title }}</title>
2018-03-13 14:11:10 +01:00
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/style.css">
2018-03-04 20:02:51 +01:00
<link rel="stylesheet" href="{{ .Site.BaseURL }}/{{ .Site.Params.custom_css }}">
2018-03-04 19:45:46 +01:00
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=0.5, maximum-scale=3.0">
{{ .Hugo.Generator }}
{{ if isset .Site.Params "mathjax"}}
<script type="text/javascript" src="{{ .Site.Params.mathjax }}">
</script>
{{end}}
</head>
<body>
<div id="container">
<div id="header-left">
<div id="site-logo">
2018-03-04 20:02:51 +01:00
<a href="{{ .Site.BaseURL }}"><img src="{{ .Site.BaseURL }}/{{ .Site.Params.logoimage }}"></a>
2018-03-04 19:45:46 +01:00
</div>
<div id="site-title"><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></div>
<div id="site-slogan">{{ .Site.Params.Description }}</div>
</div>
<div id="header-right">
{{ if .IsTranslated }}
<ul class="language-selector">
<li>
<a class="selected">{{ .Language.LanguageName }}</a>
</li>
{{ range .Translations }}
<li>
<a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a>
</li>
{{ end}}
</ul>
{{ end }}
</div>
{{ partial "menu.html" . }}
{{ if isset .Params "image"}}
<div id="featured-image">
<img src="{{ .Params.image }}">
</div>
{{end}}
<div id="page-title-container">
<div id="page-title">
{{ .Title }}
</div>
</div>
<div id="content">
<div id="article">