Explorar o código

feat(exampleSite): reduce posts per page listing (#862)

### Prerequisites

Put an `x` into the box(es) that apply:

- [ ] This pull request fixes a bug.
- [x] This pull request adds a feature.
- [ ] This pull request introduces breaking change.

### Description

Add pagination to the demo site.

### Issues Resolved

 * https://github.com/luizdepra/hugo-coder/issues/861

### Checklist

Put an `x` into the box(es) that apply:

#### General

- [x] Describe what changes are being made
- [x] Explain why and how the changes were necessary and implemented
respectively
- [x] Reference issue with `#<ISSUE_NO>` if applicable

#### Resources

- [x] If you have changed any SCSS code, run `make release` to
regenerate all CSS files

#### Contributors

- [x] Add yourself to `CONTRIBUTORS.md` if you aren't on it already
Jens Rantil %!s(int64=2) %!d(string=hai) anos
pai
achega
8e3aed5c31

+ 1 - 0
CONTRIBUTORS.md

@@ -136,4 +136,5 @@
 - [Igetin](https://github.com/Igetin)
 - [Kirill Che.](https://github.com/g4s8)
 - [iron3oxide](https://github.com/iron3oxide)
+- [Jens Rantil](https://github.com/JensRantil)
   

+ 2 - 2
exampleSite/config.toml

@@ -3,7 +3,7 @@ title = "johndoe"
 theme = "hugo-coder"
 languageCode = "en"
 defaultContentLanguage = "en"
-paginate = 20
+paginate = 6
 enableEmoji = true
 # Enable Disqus comments
 # disqusShortname = "yourdiscussshortname"
@@ -95,7 +95,7 @@ customRemoteJS = []
 # If you want to use Umami(https://umami.is) for analytics, add this section
 # [params.umami]
 # siteID = "ABCDE"
-# scriptURL = "analytics.REGION.umami.is/SCRIPTNAME.js" 
+# scriptURL = "analytics.REGION.umami.is/SCRIPTNAME.js"
 
 # If you want to implement a Content-Security-Policy, add this section
 # [params.csp]

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
resources/_gen/assets/scss/scss/coder.scss_38b4d05915c0483e6cb106e4f0efccbc.content


+ 1 - 1
resources/_gen/assets/scss/scss/coder.scss_38b4d05915c0483e6cb106e4f0efccbc.json

@@ -1 +1 @@
-{"Target":"css/coder.min.ea4c355c5f9913809f506132a80bf3fab84f2679dee370f334f7385a36d24c38.css","MediaType":"text/css","Data":{"Integrity":"sha256-6kw1XF+ZE4CfUGEyqAvz+rhPJnne43DzNPc4WjbSTDg="}}
+{"Target":"css/coder.min.135e22c97ff685fe983fc60048e309ced8f00d8d38f536aa67dba8a13a03dfa4.css","MediaType":"text/css","Data":{"Integrity":"sha256-E14iyX/2hf6YP8YASOMJztjwDY049TaqZ9uooToD36Q="}}

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio