Skip to content

Commit

Permalink
update layouts
Browse files Browse the repository at this point in the history
  • Loading branch information
niqdev committed May 30, 2021
1 parent 6963afa commit 56e20ec
Show file tree
Hide file tree
Showing 25 changed files with 33 additions and 50 deletions.
4 changes: 0 additions & 4 deletions config.toml

This file was deleted.

3 changes: 3 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
baseURL: "https://myawesome.dev/"
languageCode: "en-us"
title: "My Awesome"
5 changes: 5 additions & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "TODO Home"
---

No notes
7 changes: 5 additions & 2 deletions dev.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
https://gohugo.io/documentation

# tutorial
https://www.youtube.com/watch?v=ccCx2jrJ8zQ

# setup
hugo new site . --force
hugo new theme awesome
echo theme = \"awesome\" >> config.toml
hugo server -D
http://localhost:1313

# TODO custom archetype
# html best practice
https://gist.github.com/ryansechrest/8693303
Empty file removed layouts/.gitkeep
Empty file.
1 change: 1 addition & 0 deletions layouts/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
404
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="en">
{{- partial "head.html" . -}}
<body>
{{- partial "header.html" . -}}
Expand Down
3 changes: 3 additions & 0 deletions layouts/_default/list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{{ define "main" }}
<div>list</div>
{{ end }}
3 changes: 3 additions & 0 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{{ define "main" }}
<div>single</div>
{{ end }}
1 change: 1 addition & 0 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
footer
10 changes: 10 additions & 0 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ .Site.Title }}</title>

<!-- <link rel="icon" type="image/png" href={{ .Site.Params.favicon }}> -->
<!-- <link rel="stylesheet" href=""> -->
<!-- <script src=""></script> -->
</head>
1 change: 1 addition & 0 deletions layouts/partials/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
header
File renamed without changes.
20 changes: 0 additions & 20 deletions themes/awesome/LICENSE

This file was deleted.

2 changes: 0 additions & 2 deletions themes/awesome/archetypes/default.md

This file was deleted.

Empty file removed themes/awesome/layouts/404.html
Empty file.
Empty file.
Empty file.
Empty file removed themes/awesome/layouts/index.html
Empty file.
Empty file.
Empty file.
Empty file.
Empty file removed themes/awesome/static/css/.gitkeep
Empty file.
Empty file removed themes/awesome/static/js/.gitkeep
Empty file.
21 changes: 0 additions & 21 deletions themes/awesome/theme.toml

This file was deleted.

0 comments on commit 56e20ec

Please sign in to comment.