1
0
mirror of https://github.com/restoreddev/phpapprentice.git synced 2025-08-19 13:01:19 +02:00

Created initial site setup with hugo

This commit is contained in:
Andrew Davis
2019-07-12 19:21:18 -05:00
parent 77a0d2616b
commit e09557cf2c
80 changed files with 732 additions and 10488 deletions

View File

@@ -0,0 +1,24 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>{{ if .Title }}{{ .Title }}{{ else }}{{ .Site.Title }}{{ end }}</title>
<meta name="description" content="{{ if .Description }}{{ .Description }}{{ else }}An online book for learning PHP{{ end }}" />
<meta name="viewport" content="width=device-width, initial-scale=1">
{{ $css := resources.Get "site.css" }}
{{ $style := $css | resources.PostCSS }}
<link rel="stylesheet" type="text/css" href="{{ $style.Permalink }}">
<link rel="icon" href="/favicon-32.png">
{{ $prism := resources.Get "prism.js" }}
{{ $site := resources.Get "site.js"}}
{{ $js := slice $prism $site | resources.Concat "bundle.js" }}
<script src="{{ $js.Permalink }}"></script>
</head>
<body>
{{ block "main" . }}{{ end }}
</body>
</html>