diff options
author | Lukas Joswiak <lukas@lukasjoswiak.com> | 2020-05-16 00:35:58 +0300 |
---|---|---|
committer | Lukas Joswiak <lukas@lukasjoswiak.com> | 2020-05-16 00:35:58 +0300 |
commit | 1508189f9a2793e742c3737d316b8c9392c6f258 (patch) | |
tree | 066d5501582d22ea1f2bae8b452fcba8dfcf395d | |
parent | 8ab7cd79f24d7ba19d754580c89ab215c3c6b2d1 (diff) |
Add basic info
-rw-r--r-- | README.md | 29 | ||||
-rw-r--r-- | exampleSite/content/_index.md | 2 | ||||
-rw-r--r-- | images/screenshot.png | bin | 0 -> 63479 bytes | |||
-rw-r--r-- | images/screenshot_dark.png | bin | 0 -> 62861 bytes | |||
-rw-r--r-- | images/screenshot_small.png | bin | 0 -> 36992 bytes | |||
-rw-r--r-- | images/tn.png | bin | 0 -> 44459 bytes | |||
-rw-r--r-- | images/tn_dark.png | bin | 0 -> 43576 bytes | |||
-rw-r--r-- | layouts/partials/head.html | 2 | ||||
-rw-r--r-- | layouts/partials/header.html | 4 |
9 files changed, 33 insertions, 4 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..3eb8506 --- /dev/null +++ b/README.md @@ -0,0 +1,29 @@ +# Etch + +Etch is a simple, responsive theme for [Hugo](https://gohugo.io) with a focus on writing. + +![screenshot](https://raw.githubusercontent.com/LukasJoswiak/etch/master/images/screenshot_small.png) + +## Features: + +* Homepage with list of posts. +* Support for pages. +* Responsive design for optimized mobile experience. +* Syntax highlighting with customizable theme. +* Dark theme which automatically adjusts based on users' setting. + +## Installation + +To install `etch`, clone the repository into the `themes` folder in the root of your site. + +``` +$ git clone git@github.com:LukasJoswiak/etch.git themes/etch +``` + +Then, use the theme to generate your site. + +``` +$ hugo server -t etch +``` + +Read the [wiki](https://github.com/LukasJoswiak/etch/wiki) to learn about more options. diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md index 2b9ef09..2a74490 100644 --- a/exampleSite/content/_index.md +++ b/exampleSite/content/_index.md @@ -1,4 +1,4 @@ --- -title: "Content" +title: "Home" --- This is some info about me. diff --git a/images/screenshot.png b/images/screenshot.png Binary files differnew file mode 100644 index 0000000..fed9553 --- /dev/null +++ b/images/screenshot.png diff --git a/images/screenshot_dark.png b/images/screenshot_dark.png Binary files differnew file mode 100644 index 0000000..11505f9 --- /dev/null +++ b/images/screenshot_dark.png diff --git a/images/screenshot_small.png b/images/screenshot_small.png Binary files differnew file mode 100644 index 0000000..5b1dfae --- /dev/null +++ b/images/screenshot_small.png diff --git a/images/tn.png b/images/tn.png Binary files differnew file mode 100644 index 0000000..0556f24 --- /dev/null +++ b/images/tn.png diff --git a/images/tn_dark.png b/images/tn_dark.png Binary files differnew file mode 100644 index 0000000..b40629b --- /dev/null +++ b/images/tn_dark.png diff --git a/layouts/partials/head.html b/layouts/partials/head.html index d0960da..93203fd 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -20,5 +20,5 @@ <link rel="stylesheet" href="{{ $syntax.Permalink }}"> {{ end }} - <link rel="shortcut icon" href="/favicon.ico"> + <link rel="shortcut icon" href='{{ "favicon.ico" | absURL }}'> </head> diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 8017232..48298b3 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,8 +1,8 @@ <header id="banner"> - <h2><a href="/">{{ .Site.Title }}</a></h2> + <h2><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h2> <nav> <ul> - <li><a href="/">posts</a></li> + <li><a href="{{ .Site.BaseURL }}">posts</a></li> {{- range where .Site.Home.Pages "Section" "!=" "posts" -}} <li> <a href="{{ .Permalink }}">{{ .Title }}</a> |