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

github.com/the2ne/hugo-frais.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fredon <the2ne@gmail.com>2016-10-17 18:04:08 +0300
committerOlivier Fredon <the2ne@gmail.com>2016-10-17 18:04:08 +0300
commit2881ff656e1c73dfee07abd820bda12017ceced7 (patch)
tree3a2d24644a86e6b1f24aa811cc59f10b5e2074f2
parent7750f1d34ea42ad916df85d1050784eda141d9b6 (diff)
Update readme and remove pagination limits
-rw-r--r--README.md16
-rw-r--r--layouts/partials/post-list.html2
2 files changed, 5 insertions, 13 deletions
diff --git a/README.md b/README.md
index 1f4c6df..7452b79 100644
--- a/README.md
+++ b/README.md
@@ -1,17 +1,6 @@
# Hugo frais
-**/!\ Please note that this is a Work In Progress theme**
-
-A fresh (and french) theme for [Hugo](//gohugo.io/).
-
-Recipe for a good theme:
-- **light**: minimum viable dependencies
-- **responsive**: mobile-first is not an option
-- **accessible**: a11y is quality
-- **SVG**: light + responsive + accessibility = Epic win
-- **consistent**: if maintainability is king, BEM is queen
-- **customizable**: make it yours
-- ...
+A fresh and french single column theme for [Hugo](//gohugo.io/).
## How to install
@@ -34,12 +23,15 @@ For more information read the official [setup guide](//gohugo.io/overview/instal
## Configuration
You can define some social network bullshit like:
+
- [params] **author** *str* : the author's website name;
- [params] **pseudo** *str* : the author's online pseudonym;
- [params] **twitter** *str* : Twitter account;
- [params] **github** *str* : GitHub account;
- [params] **linkedin** *str* : LinkedIn account;
+This will activate meta (OpenGraph and Twitter Card) and menu item.
+
_./config.toml example:_
```toml
[params]
diff --git a/layouts/partials/post-list.html b/layouts/partials/post-list.html
index e2a9c61..a625a69 100644
--- a/layouts/partials/post-list.html
+++ b/layouts/partials/post-list.html
@@ -1,5 +1,5 @@
{{ $baseurl := .Site.BaseURL }}
-{{ $paginator := .Paginate (where .Data.Pages.ByDate.Reverse "Type" "post") 1 }}
+{{ $paginator := .Paginate (where .Data.Pages.ByDate.Reverse "Type" "post") }}
{{ range $paginator.Pages }}
<article class="post post--preview">
<header>