1 Star 0 Fork 0

Halo / halo-theme-story

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
post.ftl 1.78 KB
一键复制 编辑 原始数据 按行查看 历史
Ryan Wang 提交于 2020-03-25 17:58 . require 1.3.0
<#include "header.ftl">
<@header title="${post.title!} - ${blog_title!}"></@header>
<div class="container-fluid">
<div class="row">
<div id="main" class="col-12 clearfix" role="main">
<article class="posti" itemscope itemtype="http://schema.org/BlogPosting">
<h1 class="post-title" itemprop="name headline">${post.title!}</h1>
<div class="post-meta">
<p>Written by <a itemprop="name" href="${options.blog_url!'#'}" rel="author">${user.nickname!}</a> with ♥ on <time datetime="${post.createTime}" itemprop="datePublished">${post.createTime?string('MMM d,yyyy')}</time><#if categories?size gt 0> in <#list categories as category><a href="${category.fullPath!}">${category.name}</a></#list></#if></p>
</div>
<div class="post-content" itemprop="articleBody">
${post.formatContent!}
</div>
<div style="display:block;" class="clearfix">
<section style="float:left;">
<span itemprop="keywords" class="tags">
tag(s): <#if tags?size gt 0><#list tags as tag><a href="${tag.fullPath!}">${tag.name}</a>&nbsp;</#list></#if>
</span>
</section>
<section style="float:right;">
<span><a id="btn-comments" href="javascript:isComments();">show comments</a></span> · <span><a href="javascript:goBack();">back</a></span> ·
<span><a href="${blog_url!}">home</a></span>
</section>
</div>
<#include "comments.ftl">
<@comment post=post type="post" />
</article>
</div>
</div>
</div>
<#include "footer.ftl">
1
https://gitee.com/halo-dev/halo-theme-story.git
git@gitee.com:halo-dev/halo-theme-story.git
halo-dev
halo-theme-story
halo-theme-story
master

搜索帮助