Add basic info

This commit is contained in:
Lukas Joswiak 2020-05-15 14:35:58 -07:00
parent 8ab7cd79f2
commit 1508189f9a
9 changed files with 33 additions and 4 deletions

29
README.md Normal file
View file

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

View file

@ -1,4 +1,4 @@
---
title: "Content"
title: "Home"
---
This is some info about me.

BIN
images/screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

BIN
images/screenshot_dark.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
images/screenshot_small.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

BIN
images/tn.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

BIN
images/tn_dark.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

View file

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

View file

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