Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
how_to_make
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Erik Strand
how_to_make
Commits
e08c3b01
Commit
e08c3b01
authored
Sep 16, 2018
by
Erik Strand
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Order post excerpts on homepage
parent
ebe90c69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
layouts/index.html
layouts/index.html
+18
-0
No files found.
layouts/index.html
0 → 100644
View file @
e08c3b01
{{ define "main" -}}
<div
class=
"posts"
>
{{ range .Data.Pages.ByDate -}}
<article
class=
"post"
>
<h1
class=
"post-title"
>
<a
href=
"{{ .Permalink }}"
>
{{ .Title }}
</a>
</h1>
<time
datetime=
"{{ .Date.Format "
2006
-01-02T15:04:05Z0700
"
}}"
class=
"post-date"
>
{{ .Date.Format "Mon, Jan 2, 2006" }}
</time>
{{ .Summary }}
{{ if .Truncated }}
<div
class=
"read-more-link"
>
<a
href=
"{{ .RelPermalink }}"
>
Read More…
</a>
</div>
{{ end }}
</article>
{{- end }}
</div>
{{- end }}
Erik Strand
@erik
mentioned in commit
73b8a6c5
·
Sep 17, 2018
mentioned in commit
73b8a6c5
mentioned in commit 73b8a6c5d1fae65ab63faebec6361f117e29800f
Toggle commit list
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