Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
laurakalbag-dot-com
laurakalbag-dot-com
Commits
9830f9ba
Commit
9830f9ba
authored
Jan 04, 2020
by
Laura Kalbag
⚡
Browse files
Make grid layout work on category and taxonomy templates.
parent
7fb10452
Changes
2
Hide whitespace changes
Inline
Side-by-side
layouts/_default/category.html
View file @
9830f9ba
{{ define "main" }}
<div
class=
"entry-content"
>
<h1>
Posts categorised under “{{ .Page.Title }}”
</h1>
<div
class=
"entry-content
content
"
>
<h1
class=
"long-title"
>
Posts categorised under “{{ .Page.Title }}”
</h1>
{{- .Content -}}
</div>
{{ $section := .Data.Pages }}
...
...
layouts/_default/taxonomy.html
View file @
9830f9ba
{{ define "main" }}
<div
class=
"entry-content"
>
<h1>
Posts tagged with: “{{ .Page.Title }}”
</h1>
<div
class=
"entry-content
content
"
>
<h1
class=
"long-title"
>
Posts tagged with: “{{ .Page.Title }}”
</h1>
{{- .Content -}}
</div>
{{ $section := .Data.Pages }}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment