Skip to content

Commit 75dfbe7

Browse files
authored
Merge branch 'master' into all-contributors/add-rgaiacs
2 parents c1f732a + 67d05c0 commit 75dfbe7

File tree

4 files changed

+28
-18
lines changed

4 files changed

+28
-18
lines changed

.all-contributorsrc

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,29 @@
44
],
55
"imageSize": 100,
66
"commit": false,
7-
"contributors": [
8-
{
9-
"login": "rgaiacs",
10-
"name": "Raniere Silva",
11-
"avatar_url": "https://avatars0.githubusercontent.com/u/1506457?v=4",
12-
"profile": "http://rgaiacs.com",
13-
"contributions": [
14-
"tool"
15-
]
16-
}
17-
],
187
"contributorsPerLine": 7,
8+
"contributorsSortAlphabetically": false,
9+
"badgeTemplate": "[![All Contributors](https://img.shields.io/badge/all_contributors-<%= contributors.length %>-orange.svg?style=flat-square)](#contributors)",
10+
"contributorTemplate": "<a href=\"<%= contributor.profile %>\"><img src=\"<%= contributor.avatar_url %>\" width=\"<%= options.imageSize %>px;\" alt=\"\"/><br /><sub><b><%= contributor.name %></b></sub></a>",
11+
"types": {
12+
"custom": {
13+
"symbol": "🔭",
14+
"description": "A custom contribution type.",
15+
"link": "[<%= symbol %>](<%= url %> \"<%= description %>\"),"
16+
}
17+
},
18+
"skipCi": "true",
19+
"contributors": [{
20+
"login": "rgaiacs",
21+
"name": "Raniere Silva",
22+
"avatar_url": "https://avatars0.githubusercontent.com/u/1506457?v=4",
23+
"profile": "http://rgaiacs.com",
24+
"contributions": [
25+
"tool"
26+
]
27+
}],
1928
"projectName": "code-is-science",
2029
"projectOwner": "codeisscience",
2130
"repoType": "github",
22-
"repoHost": "https://github.com",
23-
"skipCi": true
31+
"repoHost": "https://github.com"
2432
}

themes/codeisscience/layouts/_default/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{ partial "header.html" . }}
22
<main>
3-
{{ $paginator := .Paginate (where .Data.Pages "Type" "post") }}
3+
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "posts") }}
44
{{ range $paginator.Pages }}
55
{{ partial "summary.html" . }}
66
{{ end }}

themes/codeisscience/layouts/partials/header.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@
88
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
99
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
1010
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/style.css">
11-
{{ if .RSSLink -}}<link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}">{{- end }}
12-
{{ .Hugo.Generator }}
11+
{{ with .OutputFormats.Get "rss" -}}
12+
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
13+
{{ end -}}
14+
{{ hugo.Generator }}
1315
<link href="https://fonts.googleapis.com/css?family=Encode+Sans+Expanded" rel="stylesheet">
1416
<link rel="shortcut icon" href="{{ .Site.BaseURL }}images/favicon.png" type="image/png">
1517
<link rel="icon" href="{{ .Site.BaseURL }}images/favicon.png" type="image/png">
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<div>
1+
<div class="paginator">
22
{{ if .Paginator.HasPrev }}
33
<a href="{{ .Paginator.Prev.URL }}">Previous Page</a>
44
{{ end }}
55
{{ .Paginator.PageNumber }} of {{ .Paginator.TotalPages }}
66
{{ if .Paginator.HasNext }}
77
<a href="{{ .Paginator.Next.URL }}">Next Page</a>
88
{{ end }}
9-
</div>
9+
</div>

0 commit comments

Comments
 (0)