Skip to content

Commit

Permalink
Fix pagination icons
Browse files Browse the repository at this point in the history
  • Loading branch information
ribice committed Nov 9, 2017
1 parent 13d5480 commit 64b18ec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Kiss

[Demo site](https://themes.gohugo.io/theme/kiss/)

![](https://www.ribice.ba/img/2/hugo-kiss.png)

Kiss is a stupidly simple blog theme for Hugo. It's a fork of [Hemingway theme](https://github.com/tanksuzuki/hemingway) - [read why](https://www.ribice.ba/blog/hugo-kiss/).
Expand Down Expand Up @@ -37,7 +39,7 @@ disqusShortname = "shortname"
googleAnalytics = ""
# Number of posts per page
Paginate = 5
enableRobotsTXT = true
enableRobotsTXT = true


[params.assets]
Expand Down Expand Up @@ -111,11 +113,13 @@ hugo server
You can go to localhost:1313 and this theme should be visible.

## License

Kiss is licensed under the MIT license. Check the [LICENSE](LICENSE.md) file for details.

The following resources are included in the theme:

- [Feather](https://feather.netlify.com/) by Cole Bemis - Licensed under the [MIT License](https://github.com/colebemis/feather/blob/master/LICENSE).

## Author

[Emir Ribic](https://github.com/ribice)
8 changes: 3 additions & 5 deletions layouts/partials/svg/icons.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<svg class='icon' viewbox='0 0 24 24' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' aria-hidden='true'>
<svg viewbox='0 0 24 24' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' aria-hidden='true'>
{{ if eq "category" . }}
<path d="M22,19a2,2,0,0,1-2,2H4a2,2,0,0,1-2-2V5A2,2,0,0,1,4,3H9l2,3h9a2,2,0,0,1,2,2Z"/>
{{ else if eq "tag" . }}
Expand All @@ -12,11 +12,9 @@
<line x1="16" y1="2" x2="16" y2="6"/>
<line x1="8" y1="2" x2="8" y2="6"/>
<line x1="3" y1="10" x2="21" y2="10"/>
{{ else if eq "prev" . }}
<line x1="20" y1="12" x2="4" y2="12"/>
<polyline points="10 18 4 12 10 6"/>
{{ if eq "prev" . }}

This comment has been minimized.

Copy link
@darrenboyd

darrenboyd Nov 10, 2017

I believe this should be else if, no? (I'd open an issue, but it seems like such a small matter, I hope a line comment will suffice 😁)

This comment has been minimized.

Copy link
@ribice

ribice Nov 11, 2017

Author Owner

Thank you!

<polyline points="15 18 9 12 15 6"/>
{{ else if eq "next" . }}
<line x1="4" y1="12" x2="20" y2="12"/>
<polyline points="14 6 20 12 14 18"/>
{{ else if eq "codepen" . }}
<polygon points="12 2 22 8.5 22 15.5 12 22 2 15.5 2 8.5 12 2"/>
Expand Down

0 comments on commit 64b18ec

Please sign in to comment.