personal-site/layouts/portfolio/list.html

31 lines
1 KiB
HTML
Raw Permalink Normal View History

2021-06-06 14:26:13 +00:00
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{{ .Title }}</title>
{{ $style := resources.Get "css/basic.scss" }}
{{ $style = $style | toCSS }}
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,400;0,500;0,700;1,300&display=swap" rel="stylesheet">
<link rel="stylesheet" href="{{ $style.Permalink }}">
{{ with .OutputFormats.Get "RSS" -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
{{- end }}
</head>
2021-06-06 15:38:33 +00:00
{{ partial "header" . }}
2021-06-06 14:26:13 +00:00
<main id="main">
2021-06-06 19:05:06 +00:00
<ul class="portfolio">
2021-06-06 14:26:13 +00:00
{{ range .Pages }}
{{ .Render "summary"}}
{{ end }}
2021-06-06 19:05:06 +00:00
</ul>
2021-06-06 14:26:13 +00:00
</main>
2021-06-06 15:38:33 +00:00
{{ partial "footer" . }}