Skip to content

Commit

Permalink
Initialize Hugo + Git
Browse files Browse the repository at this point in the history
  • Loading branch information
SKuipers committed Oct 21, 2018
1 parent ef54491 commit 6663804
Show file tree
Hide file tree
Showing 15 changed files with 114 additions and 0 deletions.
6 changes: 6 additions & 0 deletions archetypes/default.md
@@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

8 changes: 8 additions & 0 deletions config.toml
@@ -0,0 +1,8 @@
baseURL = "https://gibbonedu.org/"
languageCode = "en-GB"
title = "Gibbon"
theme = "gibbonedu"

[params]
subtitle = "The Flexible School Platform"
googleFonts = "Lato:100,300,300i,400,400i,700,700i,900,900i|Fira+Sans:400,400i,700,700i,900,900i"
7 changes: 7 additions & 0 deletions content/_index.md
@@ -0,0 +1,7 @@
---
title: "Gibbon"
date: 2018-10-21T14:00:21+08:00
draft: true
---

Hello world!
20 changes: 20 additions & 0 deletions themes/gibbonedu/LICENSE
@@ -0,0 +1,20 @@
The MIT License (MIT)

Copyright (c) 2018 YOUR_NAME_HERE

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2 changes: 2 additions & 0 deletions themes/gibbonedu/archetypes/default.md
@@ -0,0 +1,2 @@
+++
+++
Empty file.
11 changes: 11 additions & 0 deletions themes/gibbonedu/layouts/_default/baseof.html
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
{{- partial "head.html" . -}}
<body>
{{- partial "header.html" . -}}
<div id="content">
{{- block "main" . }}{{- end }}
</div>
{{- partial "footer.html" . -}}
</body>
</html>
Empty file.
Empty file.
5 changes: 5 additions & 0 deletions themes/gibbonedu/layouts/index.html
@@ -0,0 +1,5 @@
{{ partial "header.html" . }}

{{ .Content }}

{{ partial "footer.html" . }}
7 changes: 7 additions & 0 deletions themes/gibbonedu/layouts/partials/footer.html
@@ -0,0 +1,7 @@
</main>

<footer>

</footer>

</html>
15 changes: 15 additions & 0 deletions themes/gibbonedu/layouts/partials/head.html
@@ -0,0 +1,15 @@
<!-- https://gethead.info -->

<title>{{ .Site.Title }} - {{ .Site.Params.subtitle }}</title>

<meta charset="utf-8">
<meta name="robots" content="follow, all">
<meta name="googlebot" content="index,follow">
<meta name="referrer" content="no-referrer">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'">

<link href="https://cdn.jsdelivr.net/npm/tailwindcss/dist/tailwind.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family={{ .Site.Params.googleFonts }}" rel="stylesheet">
<link href="{{ .Site.BaseURL }}css/app.css" rel="stylesheet">
<script src="{{ .Site.BaseURL }}js/app.js" type="text/javascript"></script>
12 changes: 12 additions & 0 deletions themes/gibbonedu/layouts/partials/header.html
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>
{{ partial "head.html" . }}
</head>
<body>

<header>

</header>

<main>
Binary file added themes/gibbonedu/static/favicon.ico
Binary file not shown.
21 changes: 21 additions & 0 deletions themes/gibbonedu/theme.toml
@@ -0,0 +1,21 @@
# theme.toml template for a Hugo theme
# See https://github.com/gohugoio/hugoThemes#themetoml for an example

name = "Gibbonedu"
license = "MIT"
licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE"
description = ""
homepage = "http://example.com/"
tags = []
features = []
min_version = "0.41"

[author]
name = ""
homepage = ""

# If porting an existing theme
[original]
name = ""
homepage = ""
repo = ""

0 comments on commit 6663804

Please sign in to comment.