Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hugo-alageek-theme
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Jae Lo Presti
hugo-alageek-theme
Commits
542b73af
Commit
542b73af
authored
6 years ago
by
Gökmen Görgen
Browse files
Options
Downloads
Patches
Plain Diff
fix taxonomy and terms pages.
parent
e956bbc5
No related branches found
Branches containing commit
Tags
1.1.0
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
layouts/_default/taxonomy.html
+11
-9
11 additions, 9 deletions
layouts/_default/taxonomy.html
layouts/_default/terms.html
+27
-0
27 additions, 0 deletions
layouts/_default/terms.html
with
38 additions
and
9 deletions
layouts/_default/taxonomy.html
+
11
−
9
View file @
542b73af
{{ define "main" }}
{{ partial "header" . }}
<div
class=
"
main column
"
>
<div
class=
"
content
"
>
<div
class=
"container"
>
<div
class=
"content"
>
<div
class=
"posts"
>
<div
class=
"page-heading"
>
{{ i18n "posts_about" . }}
</div>
<ul>
{{ range .Data.Pages.ByPublishDate }}
{{ partial "list" . }}
{{ end }}
</ul>
<div
class=
"row justify-content-center"
>
<div
class=
"col-sm-12 col-md-10"
>
<div
class=
"markdown"
>
<h1>
{{ i18n "posts_about" . }}
</h1>
<ul>
{{ range .Data.Pages.ByPublishDate }}
{{ partial "list" . }}
{{ end }}
</ul>
</div>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
layouts/_default/terms.html
0 → 100644
+
27
−
0
View file @
542b73af
{{ define "main" }}
{{ partial "header" . }}
<div
class=
"content"
>
<div
class=
"container"
>
<div
class=
"row justify-content-center"
>
<div
class=
"col-sm-12 col-md-10"
>
<div
class=
"markdown"
>
<h1
class=
"mx-0 mx-md-4"
>
{{ .Title }}
</h1>
<p
class=
"h4"
>
{{ $data := .Data }}
{{ range $key, $value := .Data.Terms.Alphabetical }}
<a
href=
"{{ $value.Name | urlize }}"
class=
"badge badge-light text-monospace"
>
{{ $value.Name }}
<span
class=
"badge badge-secondary"
>
{{ $value.WeightedPages.Count }}
</span>
</a>
{{ end }}
</p>
</div>
</div>
</div>
</div>
</div>
{{ partial "footer" . }}
{{ end }}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment