mirror of
https://github.com/LukasJoswiak/etch.git
synced 2024-05-02 16:18:32 -04:00
Add basic info (#1)
This commit is contained in:
parent
8ab7cd79f2
commit
36a9e08868
29
README.md
Normal file
29
README.md
Normal 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.
|
|
@ -1,4 +1,4 @@
|
|||
---
|
||||
title: "Content"
|
||||
title: "Home"
|
||||
---
|
||||
This is some info about me.
|
||||
|
|
BIN
images/screenshot.png
Normal file
BIN
images/screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 62 KiB |
BIN
images/screenshot_dark.png
Normal file
BIN
images/screenshot_dark.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 61 KiB |
BIN
images/screenshot_small.png
Normal file
BIN
images/screenshot_small.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 36 KiB |
BIN
images/tn.png
Normal file
BIN
images/tn.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 43 KiB |
BIN
images/tn_dark.png
Normal file
BIN
images/tn_dark.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 43 KiB |
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue