提交 11e38f90 编写于 作者: L liyongle

Merge branch 'master' into guidance

......@@ -3,7 +3,7 @@ baseurl = "http://blog.openeuler.org"
author = "@JeffProd"
copyright = "Copyright © 2008–2018, @JeffProd"
canonifyurls = true
paginate = 3
paginate = 10
theme = "hugo-blog-jeffprod"
......
+++
title = "Guidance to Post a Blog"
title = "Post a blog"
+++
......
......@@ -5,7 +5,7 @@
<div class="column is-9">
<div class="tile is-child box">
<div class="content">
<h3>openEuler Blog</h3>
<h3 style="overflow:hidden"><div style="float:left;">openEuler Blog</div><div style="float:right;"><a href="/guidance">Post a Blog</a></div></h3>
<hr>
{{ range $paginator.Pages }}
<article class="media">
......
......@@ -22,7 +22,7 @@
<nav class="navbar is-fixed-top" role="navigation" aria-label="main navigation">
<div class="navbar-brand">
<a class="navbar-item" href="{{ .Site.BaseURL | absURL }}">Home</a>
<a class="navbar-item" href="/guidance">Guidance</a>
<a class="navbar-item" href="/guidance">Post a Blog</a>
</div>
</nav>
<!-- /nav -->
......@@ -38,6 +38,8 @@
#{{ .Title }}
{{ else if eq .Type "archives" }}
Archive {{ .Title }}
{{ else if eq .Type "guidance" }}
Post a blog
{{ else }}
{{ .Title }}
{{ end }}
......
<div class="card">
<div class="card-content">
<h1 class="title is-5">Archives</h1>
{{ range (where .Site.RegularPages "Section" "post").GroupByDate "2006.01" }}
{{ range (where .Site.RegularPages "Section" "post").GroupByDate "2006-01" }}
<a href="{{ "archives" | absURL }}/{{ .Key }}">{{ .Key }}</a> ({{ len .Pages }})<br>
{{ end }}
</div>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册