listmonk/docs/site/layouts/partials/header.html
Kailash Nadh 684c15a404
Add static Hugo website and mkdocs documentation to docs directory. (#1261)
This commit merges the static website and docs that was on
https://github.com/knadh/listmonk-site repository into the main
listmonk repo.

It also adds a GitHub Actions workflow to public the sites on GitHub
Pages instead of Netlify.
2023-03-26 00:51:20 +05:30

42 lines
No EOL
2.1 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{{ .Title }}</title>
<meta name="description" content="{{with .Description }}{{ . }}{{else}}Send e-mail campaigns and transactional e-mails. High performance and features packed into one app.{{end}}" />
<meta name="keywords" content="{{ if .Keywords }}{{ range .Keywords }}{{ . }}, {{ end }}{{else if isset .Params "tags" }}{{ range .Params.tags }}{{ . }}, {{ end }}{{end}}">
<link rel="canonical" href="{{ .Permalink }}">
<link href="https://fonts.googleapis.com/css?family=Inter:400,600" rel="stylesheet">
<link href="{{ .Site.BaseURL }}static/base.css" rel="stylesheet" type="text/css" />
<link href="{{ .Site.BaseURL }}static/style.css" rel="stylesheet" type="text/css" />
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" />
<link rel="shortcut icon" href="{{ .Site.BaseURL }}static/images/favicon.png" type="image/x-icon" />
<meta property="og:title" content="{{ .Title }}" />
{{ if .Params.thumbnail }}
<link rel="image_src" href="{{ .Site.BaseURL }}static/images/{{ .Params.thumbnail }}" />
<meta property="og:image" content="{{ .Site.BaseURL }}static/images/{{ .Params.thumbnail }}" />
{{ else }}
<link rel="image_src" href="{{ .Site.BaseURL }}static/images/thumbnail.png" />
<meta property="og:image" content="{{ .Site.BaseURL }}static/images/thumbnail.png" />
{{ end }}
</head>
<body>
<div class="container">
<header class="header">
<div class="row">
<div class="col-2 logo">
<a href="{{ .Site.BaseURL }}"><img src="{{ .Site.BaseURL }}static/images/logo.svg" alt="Listmonk logo" /></a>
</div>
<nav class="col-10">
<a class="item" href="/#download">Download</a>
<a class="item" href="/docs">Docs</a>
<div class="github-btn">
<a class="github-button" href="https://github.com/knadh/listmonk" data-size="large" data-show-count="true" aria-label="knadh/listmonk on GitHub">GitHub</a>
</div>
</nav>
</div>
</header>
</div>