Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
H
hugo-goa
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sadman Kazi
hugo-goa
Commits
70a49416
Commit
70a49416
authored
Oct 23, 2017
by
Rajesh Shenoy
Committed by
GitHub
Oct 23, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #30 from samn/skip-empty-content-date
Don't show "PUBLISHED ON" for content without dates
parents
79d8f2c1
ddea1189
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
content.html
layouts/partials/content.html
+1
-1
li.html
layouts/partials/li.html
+1
-1
No files found.
layouts/partials/content.html
View file @
70a49416
...
...
@@ -5,7 +5,7 @@
{{ if ne .Params.showpagemeta false }}
<div
class=
"col-md-12"
>
<h6
class=
"text-left meta"
>
PUBLISHED ON {{ .Date.Format .Site.Params.dateformat | upper
}}
{{ if not .Date.IsZero }} PUBLISHED ON {{ .Date.Format .Site.Params.dateformat | upper }} {{end
}}
{{ if isset .Params "categories" }}
{{ $total := len .Params.categories }}
{{ if gt $total 0 }}
...
...
layouts/partials/li.html
View file @
70a49416
...
...
@@ -4,7 +4,7 @@
<li
class=
"list-entry"
>
<a
class=
"list-entry-link"
href=
"{{ .Permalink }}"
>
{{ .Title }}
</a>
<p
class=
"meta"
>
{{
.Date.Format .Site.Params.dateformat | upper
}}
{{
if not .Date.IsZero }} {{ .Date.Format .Site.Params.dateformat | upper }} {{end
}}
<span
class=
"category"
>
{{ if isset .Params "categories" }}
{{ $total := len .Params.categories }}
...
...
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