Merge pull request #11 from softinio/remove-date-from-page

Remove date from pages
This commit is contained in:
Salar Rahmanian 2020-03-08 16:01:45 -07:00 committed by GitHub
commit bd4a400398
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,32 @@
{{ define "content" -}}
<article class="post bg-white">
<!-- post-header -->
<header class="post-header">
<h1 class="post-title">{{ .Title }}</h1>
{{ partial "post/i18nlist.html" . }}
<div class="post-meta">
<!-- <time datetime="{{ .Date.Format "2006-01-02" }}" class="post-time"> -->
<!-- <!-1- {{ .Date.Format (.Site.Params.dateFormatToUse | default "2006-01-02") }} -1-> -->
<!-- </time> -->
</div>
</header>
<!-- TOC -->
{{ partial "post/toc.html" . }}
<!-- Content -->
<div class="post-content">
{{ .Content }}
</div>
<!-- Copyright -->
{{ partial "post/copyright.html" . }}
<!-- Reward -->
{{ partial "post/reward.html" . }}
</article>
<!-- Comments -->
{{ partial "comments.html" . }}
{{- end }}