Switch to using Hugo. (#8)

Added all the things.

Updated gitignore and README.

Removed all the things.

Reviewed-by: jeff <jeff@simplesystems.tech>
This commit is contained in:
2020-04-10 20:23:17 +00:00
parent 791c2e559c
commit 1b2686c3eb
75 changed files with 1034 additions and 7881 deletions

View File

@ -0,0 +1,29 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="/icons.css">
<link rel="stylesheet" href="/simplesystems.css">
<link rel="stylesheet" href="/light-theme.css">
<link rel="shortcut icon" href="/favicon.ico">
<title>{{ block "title" . }}
{{ .Site.Title }}
{{ end }}</title>
</head>
<body>
{{ partial "navbar/site-navbar.html" . }}
<main>
{{ block "main" . }}
<!-- The part of the page that begins to differ between templates -->
{{ end }}
</main>
{{ partial "footer/site-footer.html" . }}
{{ partial "scripts/scripts.html" . }}
</body>
</html>

View File

@ -0,0 +1,26 @@
{{ define "main" }}
{{ .Content }}
<div class="container">
<div class="row">
{{ range .Pages }}
<div class="col xs-12 md-6">
<a href="{{ .Permalink }}">
<div class="card">
<div class="card-title align-center">
<img src="{{ .Params.image }}" width="48" height="48" class="mr-4">
{{ .Title }}
</div>
<hr>
<div class="card-text">
{{ .Params.desc }} ...
</div>
</div>
</a>
</div>
{{ end }}
</div>
</div>
{{ end }}

View File

@ -0,0 +1,9 @@
{{ define "main" }}
<div class="container">
<div class="row">
<div class="col article">
{{ .Content }}
</div>
</div>
</div>
{{ end }}