Skip to content

Commit 27cce12

Browse files
committed
deploy: 70c4497
1 parent 0fd27dd commit 27cce12

24 files changed

Lines changed: 153 additions & 30 deletions

File tree

blog_setup/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name=generator content="Hugo 0.91.2">
66
<title>Blog_setup - A Hugo website</title>
77
<meta property="og:title" content="Blog_setup - A Hugo website">
8-
<link href=https://yanhj93.github.io/favicon.ico rel=icon type=image/x-icon>
8+
<link href=https://zero2hj.github.io/favicon.ico rel=icon type=image/x-icon>
99
<link href=//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github.min.css rel=stylesheet type=text/css>
1010
<link rel=stylesheet href=/css/fonts.css media=all>
1111
<link rel=stylesheet href=/css/main.css media=all>

categories/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name=generator content="Hugo 0.91.2">
66
<title>Categories - A Hugo website</title>
77
<meta property="og:title" content="Categories - A Hugo website">
8-
<link href=https://yanhj93.github.io/favicon.ico rel=icon type=image/x-icon>
8+
<link href=https://zero2hj.github.io/favicon.ico rel=icon type=image/x-icon>
99
<link href=/categories/index.xml rel=alternate type=application/rss+xml title="A Hugo website">
1010
<link rel=stylesheet href=/css/fonts.css media=all>
1111
<link rel=stylesheet href=/css/main.css media=all>

categories/index.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Categories on A Hugo website</title><link>https://yanhj93.github.io/categories/</link><description>Recent content in Categories on A Hugo website</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Sun, 02 Oct 2022 21:36:07 +0800</lastBuildDate><atom:link href="https://yanhj93.github.io/categories/index.xml" rel="self" type="application/rss+xml"/><item><title>reference</title><link>https://yanhj93.github.io/categories/reference/</link><pubDate>Sun, 02 Oct 2022 21:36:07 +0800</pubDate><guid>https://yanhj93.github.io/categories/reference/</guid><description/></item></channel></rss>
1+
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Categories on A Hugo website</title><link>https://zero2hj.github.io/categories/</link><description>Recent content in Categories on A Hugo website</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Sun, 02 Oct 2022 21:36:07 +0800</lastBuildDate><atom:link href="https://zero2hj.github.io/categories/index.xml" rel="self" type="application/rss+xml"/><item><title>reference</title><link>https://zero2hj.github.io/categories/reference/</link><pubDate>Sun, 02 Oct 2022 21:36:07 +0800</pubDate><guid>https://zero2hj.github.io/categories/reference/</guid><description/></item></channel></rss>

categories/reference/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name=generator content="Hugo 0.91.2">
66
<title>reference - A Hugo website</title>
77
<meta property="og:title" content="reference - A Hugo website">
8-
<link href=https://yanhj93.github.io/favicon.ico rel=icon type=image/x-icon>
8+
<link href=https://zero2hj.github.io/favicon.ico rel=icon type=image/x-icon>
99
<link href=/categories/reference/index.xml rel=alternate type=application/rss+xml title="A Hugo website">
1010
<link rel=stylesheet href=/css/fonts.css media=all>
1111
<link rel=stylesheet href=/css/main.css media=all>

categories/reference/index.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>reference on A Hugo website</title><link>https://yanhj93.github.io/categories/reference/</link><description>Recent content in reference on A Hugo website</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Sun, 02 Oct 2022 21:36:07 +0800</lastBuildDate><atom:link href="https://yanhj93.github.io/categories/reference/index.xml" rel="self" type="application/rss+xml"/><item><title>Blog_setup</title><link>https://yanhj93.github.io/blog_setup/</link><pubDate>Sun, 02 Oct 2022 21:36:07 +0800</pubDate><guid>https://yanhj93.github.io/blog_setup/</guid><description>hugo quick start 跟着 quick start doc 初始化站点, theme 选择 hugo-lithium
1+
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>reference on A Hugo website</title><link>https://zero2hj.github.io/categories/reference/</link><description>Recent content in reference on A Hugo website</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Sun, 02 Oct 2022 21:36:07 +0800</lastBuildDate><atom:link href="https://zero2hj.github.io/categories/reference/index.xml" rel="self" type="application/rss+xml"/><item><title>Blog_setup</title><link>https://zero2hj.github.io/blog_setup/</link><pubDate>Sun, 02 Oct 2022 21:36:07 +0800</pubDate><guid>https://zero2hj.github.io/blog_setup/</guid><description>hugo quick start 跟着 quick start doc 初始化站点, theme 选择 hugo-lithium
22
theme config 替换 config.toml 为主题example site 的config. 修改如下:
33
修改posts permlink 为 baseURL/post_name. 修改single page template, 增加 tag 显示区域. 避免 _index.md 使用list page 模板渲染. 因为要自定义索引页. 配置 archetype. 配置菜单 content organization 如果需要发表系类文章, 系列名为demo, 陆续发表两篇文章 Go, Java. 过程如下:
44
hugo new posts/demo/_index.md, 作为系列文章首页包含概述和文章索引. 发布后的URL为demo posts 间的引用语法link. hugo new posts/demo/Java.md. 发布后的URL为 /java hugo new posts/demo/Go.md. 发布后的URL为 /Go 添加菜单 [[menu.main]] name = &amp;quot;demo&amp;quot; url = &amp;quot;/pl/&amp;quot; deploy use github action and github pages.</description></item></channel></rss>

0 commit comments

Comments
 (0)