Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
website
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gajim
website
Commits
d4b256b1
Commit
d4b256b1
authored
Aug 30, 2020
by
Daniel Brötzmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tags: Display tags in post meta section only
parent
c7a4a627
Pipeline
#6181
passed with stage
in 8 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
28 deletions
+9
-28
themes/beautifulhugo/layouts/_default/list.html
themes/beautifulhugo/layouts/_default/list.html
+0
-9
themes/beautifulhugo/layouts/_default/single.html
themes/beautifulhugo/layouts/_default/single.html
+0
-8
themes/beautifulhugo/layouts/index.html
themes/beautifulhugo/layouts/index.html
+0
-8
themes/beautifulhugo/layouts/partials/post_meta.html
themes/beautifulhugo/layouts/partials/post_meta.html
+5
-1
themes/beautifulhugo/static/css/main.css
themes/beautifulhugo/static/css/main.css
+4
-2
No files found.
themes/beautifulhugo/layouts/_default/list.html
View file @
d4b256b1
...
...
@@ -31,15 +31,6 @@
{{ .Content }}
{{ end }}
</div>
{{ if .Params.tags }}
<div
class=
"blog-tags"
>
{{ range .Params.tags }}
<a
href=
"{{ $.Site.LanguagePrefix | absURL }}/tags/{{ . | urlize }}/"
>
{{ . }}
</a>
{{ end }}
</div>
{{ end }}
</article>
{{ end }}
</div>
...
...
themes/beautifulhugo/layouts/_default/single.html
View file @
d4b256b1
...
...
@@ -5,14 +5,6 @@
<article
role=
"main"
class=
"blog-post"
>
{{ .Content }}
{{ if .Params.tags }}
<div
class=
"blog-tags"
>
{{ range .Params.tags }}
<a
href=
"{{ $.Site.LanguagePrefix | absURL }}/tags/{{ . | urlize }}/"
>
{{ . }}
</a>
{{ end }}
</div>
{{ end }}
{{ if $.Param "socialShare" }}
<hr/>
<section
id=
"social-share"
>
...
...
themes/beautifulhugo/layouts/index.html
View file @
d4b256b1
...
...
@@ -35,14 +35,6 @@
{{ .Content }}
{{ end }}
</div>
{{ if .Params.tags }}
<div
class=
"blog-tags"
>
{{ range .Params.tags }}
<a
href=
"{{ $.Site.LanguagePrefix | absURL }}/tags/{{ . | urlize }}/"
>
{{ . }}
</a>
{{ end }}
</div>
{{ end }}
</article>
{{ end }}
</div>
...
...
themes/beautifulhugo/layouts/partials/post_meta.html
View file @
d4b256b1
...
...
@@ -8,6 +8,11 @@
{{ if .Site.Params.readingTime }}
|
<i
class=
"fas fa-clock"
></i>
{{ i18n "readingTime"}}{{ .ReadingTime }}
{{ i18n "readTime" }}
{{ end }}
{{ if .Params.tags }}
{{ range .Params.tags }}
|
<span
class=
"blog-tags"
><a
href=
"{{ $.Site.LanguagePrefix | absURL }}/tags/{{ . | urlize }}/"
>
{{ . }}
</a></span>
{{ end }}
{{ end }}
{{ if .Site.Params.wordCount }}
|
<i
class=
"fas fa-book"
></i>
{{ .WordCount }}
{{ i18n "words" }}
{{ end }}
...
...
@@ -42,4 +47,3 @@
•
{{ i18n "translationsLabel" }}{{ $linksOutput }}
{{- end }}
</span>
themes/beautifulhugo/static/css/main.css
View file @
d4b256b1
...
...
@@ -399,10 +399,12 @@ footer .theme-by {
.blog-tags
a
{
border-radius
:
0.25em
;
color
:
#ffffff
;
color
:
#ffffff
!important
;
font-style
:
normal
;
background-color
:
#0085a1
;
text-decoration
:
none
;
padding
:
0.25em
0.4em
text-shadow
:
none
;
padding
:
0.15em
0.4em
}
.blog-tags
a
:hover
{
...
...
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