Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
blog
提交
11e38f90
B
blog
项目概览
openeuler
/
blog
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
B
blog
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
11e38f90
编写于
3月 06, 2020
作者:
L
liyongle
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' into guidance
上级
9360b456
af3ae003
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
8 addition
and
4 deletion
+8
-4
config.toml
config.toml
+1
-1
content/guidance/index_.md
content/guidance/index_.md
+2
-0
themes/hugo-blog-jeffprod/layouts/index.html
themes/hugo-blog-jeffprod/layouts/index.html
+1
-1
themes/hugo-blog-jeffprod/layouts/partials/header.html
themes/hugo-blog-jeffprod/layouts/partials/header.html
+3
-1
themes/hugo-blog-jeffprod/layouts/partials/widget-archives.html
.../hugo-blog-jeffprod/layouts/partials/widget-archives.html
+1
-1
未找到文件。
config.toml
浏览文件 @
11e38f90
...
...
@@ -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"
...
...
content/guidance/index_.md
浏览文件 @
11e38f90
+++
title = "Guidance to Post a Blog"
title = "Post a blog"
+++
...
...
themes/hugo-blog-jeffprod/layouts/index.html
浏览文件 @
11e38f90
...
...
@@ -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"
>
...
...
themes/hugo-blog-jeffprod/layouts/partials/header.html
浏览文件 @
11e38f90
...
...
@@ -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 }}
...
...
themes/hugo-blog-jeffprod/layouts/partials/widget-archives.html
浏览文件 @
11e38f90
<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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录