diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 00000000..00e77bd7 --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/config.toml b/config.toml new file mode 100644 index 00000000..a2e2561f --- /dev/null +++ b/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" diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 00000000..bc35c170 --- /dev/null +++ b/content/_index.md @@ -0,0 +1,7 @@ +--- +title: "Gibbon" +date: 2018-10-21T14:00:21+08:00 +draft: true +--- + +Hello world! diff --git a/themes/gibbonedu/LICENSE b/themes/gibbonedu/LICENSE new file mode 100644 index 00000000..624b3f38 --- /dev/null +++ b/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. diff --git a/themes/gibbonedu/archetypes/default.md b/themes/gibbonedu/archetypes/default.md new file mode 100644 index 00000000..ac36e062 --- /dev/null +++ b/themes/gibbonedu/archetypes/default.md @@ -0,0 +1,2 @@ ++++ ++++ diff --git a/themes/gibbonedu/layouts/404.html b/themes/gibbonedu/layouts/404.html new file mode 100644 index 00000000..e69de29b diff --git a/themes/gibbonedu/layouts/_default/baseof.html b/themes/gibbonedu/layouts/_default/baseof.html new file mode 100644 index 00000000..5f8e2ec0 --- /dev/null +++ b/themes/gibbonedu/layouts/_default/baseof.html @@ -0,0 +1,11 @@ + + + {{- partial "head.html" . -}} + + {{- partial "header.html" . -}} +
+ {{- block "main" . }}{{- end }} +
+ {{- partial "footer.html" . -}} + + diff --git a/themes/gibbonedu/layouts/_default/list.html b/themes/gibbonedu/layouts/_default/list.html new file mode 100644 index 00000000..e69de29b diff --git a/themes/gibbonedu/layouts/_default/single.html b/themes/gibbonedu/layouts/_default/single.html new file mode 100644 index 00000000..e69de29b diff --git a/themes/gibbonedu/layouts/index.html b/themes/gibbonedu/layouts/index.html new file mode 100644 index 00000000..de7cc5ff --- /dev/null +++ b/themes/gibbonedu/layouts/index.html @@ -0,0 +1,5 @@ +{{ partial "header.html" . }} + +{{ .Content }} + +{{ partial "footer.html" . }} diff --git a/themes/gibbonedu/layouts/partials/footer.html b/themes/gibbonedu/layouts/partials/footer.html new file mode 100644 index 00000000..7cdb9afe --- /dev/null +++ b/themes/gibbonedu/layouts/partials/footer.html @@ -0,0 +1,7 @@ + + + + + diff --git a/themes/gibbonedu/layouts/partials/head.html b/themes/gibbonedu/layouts/partials/head.html new file mode 100644 index 00000000..5bcaec37 --- /dev/null +++ b/themes/gibbonedu/layouts/partials/head.html @@ -0,0 +1,15 @@ + + +{{ .Site.Title }} - {{ .Site.Params.subtitle }} + + + + + + + + + + + + diff --git a/themes/gibbonedu/layouts/partials/header.html b/themes/gibbonedu/layouts/partials/header.html new file mode 100644 index 00000000..fe12f349 --- /dev/null +++ b/themes/gibbonedu/layouts/partials/header.html @@ -0,0 +1,12 @@ + + + + {{ partial "head.html" . }} + + + +
+ +
+ +
diff --git a/themes/gibbonedu/static/favicon.ico b/themes/gibbonedu/static/favicon.ico new file mode 100644 index 00000000..ae820e15 Binary files /dev/null and b/themes/gibbonedu/static/favicon.ico differ diff --git a/themes/gibbonedu/theme.toml b/themes/gibbonedu/theme.toml new file mode 100644 index 00000000..d0e9cff4 --- /dev/null +++ b/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 = ""