summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Whitlock <adam@adamwhitlock.com>2022-01-11 20:51:39 -0600
committerAdam Whitlock <adam@adamwhitlock.com>2022-01-11 20:51:39 -0600
commita28c742a1a9848d9ab21bc6e78bacd76d2c90a5b (patch)
treeaa501dc62740f77ba4b75e170b0015aa27e85c6c
parenta27f871d8cb306d7bef56fa0a1df0e8b84103103 (diff)
README.md spelling mistakes & post page order
The README.md had a number of spelling mistakes. Post page order was meant to be reverse, corrected.
-rw-r--r--README.md4
-rw-r--r--layouts/pages/archive.html2
2 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index ef70ce7..a9d7e17 100644
--- a/README.md
+++ b/README.md
@@ -32,7 +32,7 @@ If you need or want new functionality, please create a new issue on Github in th
### Method 1: Clone in Themes Directory
-The simplest method of instlaling Huey is cloning the Huey directly into the site `themes/huey` directory. Below is a command that can be copied & pasted into a temrinal to clone the Huey theme.
+The simplest method of installing Huey is cloning the Huey directly into the site `themes/huey` directory. Below is a command that can be copied & pasted into a terminal to clone the Huey theme.
```git clone https://github.com/alloydwhitlock/huey/ --depth=1```
@@ -42,7 +42,7 @@ If you use Huey cloned directly, you will need to run `git pull` within `themes/
### Method 2: Use Git Submodule
-Git Submodule allows you to have one git repository located within another. This lets you separate what your working site directoy will be from the Huey theme, as an example. It's a great choice when you have an external component you don't fully control, since it locks the repository reference to the specific commit you used.
+Git Submodule allows you to have one git repository located within another. This lets you separate what your working site directory will be from the Huey theme, as an example. It's a great choice when you have an external component you don't fully control, since it locks the repository reference to the specific commit you used.
```git submodule add https://github.com/alloydwhitlock/huey/ themes/huey --depth=1```
diff --git a/layouts/pages/archive.html b/layouts/pages/archive.html
index af63fc6..c648a80 100644
--- a/layouts/pages/archive.html
+++ b/layouts/pages/archive.html
@@ -9,7 +9,7 @@
</p>
{{ .Content }}
<ul class="fa-ul">
- {{ range .Pages.ByDate }}
+ {{ range .Pages.ByPublishDate.Reverse }}
<li>
<span class="fa-li"><i class="fas fa fa-file"></i></span><a href="{{ .Permalink }}">{{ .Title | title }}{{ if .Description }}: {{ .Description}}{{ end }}</a>
<p>Posted on <time>{{ .Date.Format "Mon, Jan 2, 2006" }}</time></p>