chore:init hugo

remotes/1719447575336928982/master
Igor Laborie 6 years ago
parent 44a3d72cfa
commit 0d06bb367b
  1. 1
      .gitignore
  2. 6
      test-hugo/archetypes/default.md
  3. 3
      test-hugo/config.toml
  4. 20
      test-hugo/themes/test-theme-hugo/LICENSE
  5. 2
      test-hugo/themes/test-theme-hugo/archetypes/default.md
  6. 0
      test-hugo/themes/test-theme-hugo/layouts/404.html
  7. 11
      test-hugo/themes/test-theme-hugo/layouts/_default/baseof.html
  8. 0
      test-hugo/themes/test-theme-hugo/layouts/_default/list.html
  9. 0
      test-hugo/themes/test-theme-hugo/layouts/_default/single.html
  10. 0
      test-hugo/themes/test-theme-hugo/layouts/index.html
  11. 0
      test-hugo/themes/test-theme-hugo/layouts/partials/footer.html
  12. 0
      test-hugo/themes/test-theme-hugo/layouts/partials/head.html
  13. 0
      test-hugo/themes/test-theme-hugo/layouts/partials/header.html
  14. 21
      test-hugo/themes/test-theme-hugo/theme.toml

1
.gitignore vendored

@ -0,0 +1 @@
_gen/

@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

@ -0,0 +1,3 @@
baseURL = "http://example.org/"
languageCode = "en-us"
title = "My New Hugo Site"

@ -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.

@ -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>

@ -0,0 +1,21 @@
# theme.toml template for a Hugo theme
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
name = "Test Theme Hugo"
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 = ""
Loading…
Cancel
Save