From 2881ff656e1c73dfee07abd820bda12017ceced7 Mon Sep 17 00:00:00 2001 From: Olivier Fredon Date: Mon, 17 Oct 2016 17:04:08 +0200 Subject: Update readme and remove pagination limits --- README.md | 16 ++++------------ layouts/partials/post-list.html | 2 +- 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 }}
-- cgit v1.2.3