Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/LukasJoswiak/etch.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Joswiak <lukas@lukasjoswiak.com>2020-05-16 00:35:58 +0300
committerLukas Joswiak <lukas@lukasjoswiak.com>2020-05-16 00:35:58 +0300
commit1508189f9a2793e742c3737d316b8c9392c6f258 (patch)
tree066d5501582d22ea1f2bae8b452fcba8dfcf395d
parent8ab7cd79f24d7ba19d754580c89ab215c3c6b2d1 (diff)
Add basic info
-rw-r--r--README.md29
-rw-r--r--exampleSite/content/_index.md2
-rw-r--r--images/screenshot.pngbin0 -> 63479 bytes
-rw-r--r--images/screenshot_dark.pngbin0 -> 62861 bytes
-rw-r--r--images/screenshot_small.pngbin0 -> 36992 bytes
-rw-r--r--images/tn.pngbin0 -> 44459 bytes
-rw-r--r--images/tn_dark.pngbin0 -> 43576 bytes
-rw-r--r--layouts/partials/head.html2
-rw-r--r--layouts/partials/header.html4
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
new file mode 100644
index 0000000..fed9553
--- /dev/null
+++ b/images/screenshot.png
Binary files differ
diff --git a/images/screenshot_dark.png b/images/screenshot_dark.png
new file mode 100644
index 0000000..11505f9
--- /dev/null
+++ b/images/screenshot_dark.png
Binary files differ
diff --git a/images/screenshot_small.png b/images/screenshot_small.png
new file mode 100644
index 0000000..5b1dfae
--- /dev/null
+++ b/images/screenshot_small.png
Binary files differ
diff --git a/images/tn.png b/images/tn.png
new file mode 100644
index 0000000..0556f24
--- /dev/null
+++ b/images/tn.png
Binary files differ
diff --git a/images/tn_dark.png b/images/tn_dark.png
new file mode 100644
index 0000000..b40629b
--- /dev/null
+++ b/images/tn_dark.png
Binary files differ
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>