Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
bigfa committed Jan 3, 2025
1 parent 73fe188 commit c959f1a
Show file tree
Hide file tree
Showing 22 changed files with 365 additions and 52 deletions.
2 changes: 1 addition & 1 deletion archive/index.html

Large diffs are not rendered by default.

60 changes: 59 additions & 1 deletion archive/index.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Posts on Untitled</title><link>https://bigfa.github.io/hugo-theme-notability/archive/</link><description>Recent content in Posts on Untitled</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Fri, 15 Nov 2024 13:28:00 +0800</lastBuildDate><atom:link href="https://bigfa.github.io/hugo-theme-notability/archive/index.xml" rel="self" type="application/rss+xml"/><item><title>Hugo 主题 Farallon</title><link>https://bigfa.github.io/hugo-theme-notability/story/hugo-theme-farallon/</link><pubDate>Mon, 30 Oct 2023 21:07:22 +0800</pubDate><guid>https://bigfa.github.io/hugo-theme-notability/story/hugo-theme-farallon/</guid><description>&lt;p>
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Posts on Untitled</title><link>https://bigfa.github.io/hugo-theme-notability/archive/</link><description>Recent content in Posts on Untitled</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Fri, 03 Jan 2025 13:36:45 +0800</lastBuildDate><atom:link href="https://bigfa.github.io/hugo-theme-notability/archive/index.xml" rel="self" type="application/rss+xml"/><item><title>Hugo 主题 Farallon</title><link>https://bigfa.github.io/hugo-theme-notability/story/hugo-theme-farallon/</link><pubDate>Mon, 30 Oct 2023 21:07:22 +0800</pubDate><guid>https://bigfa.github.io/hugo-theme-notability/story/hugo-theme-farallon/</guid><description>&lt;p>
&lt;figure class="grap--figure">
&lt;img src="https://static.fatesinger.com/2023/06/u1ak8xgmyn9ec24r.png" alt="Hugo 主题 Farallon" />
&lt;figcaption class="imageCaption">Hugo 主题 Farallon&lt;/figcaption>
Expand Down Expand Up @@ -56,6 +56,64 @@ layout: travel
authorAvatar = &amp;#39;https://secure.gravatar.com/avatar/2fd7e2e17a671f8e3fade0706e0a667e?s=128&amp;amp;d=mm&amp;amp;r=g&amp;#39;
&lt;/code>&lt;/pre>&lt;h3 id="搜索">搜索&lt;/h3>
&lt;p>推荐使用&lt;code>algolia&lt;/code>,个人小站免费额度够用了。&lt;/p>
&lt;p>站点配置参数,设置成你自己的,主要不要暴露&lt;code>adminKey&lt;/code>&lt;/p></description></item><item><title>Hugo 主题 Hero</title><link>https://bigfa.github.io/hugo-theme-notability/story/hugo-theme-hera/</link><pubDate>Fri, 03 Jan 2025 13:36:45 +0800</pubDate><guid>https://bigfa.github.io/hugo-theme-notability/story/hugo-theme-hera/</guid><description>&lt;p>
&lt;figure class="grap--figure">
&lt;img src="https://static.fatesinger.com/2024/12/2u80bhyxkmru4o9j.png" alt="Hugo 主题 Hero" />
&lt;figcaption class="imageCaption">Hugo 主题 Hero&lt;/figcaption>
&lt;/figure>
&lt;/p>
&lt;blockquote>
&lt;p>本主题使用古法制作,不依赖三方框架。&lt;/p>
&lt;/blockquote>
&lt;p>Hugo 当前版本 &lt;code>0.0.2&lt;/code>,最后更新日期 &lt;code>2025/01/03&lt;/code>&lt;/p>
&lt;p>


&lt;a href="https://bigfa.github.io/hugo-theme-hera/" target="_blank" rel="noopener" >演示地址&lt;/a>
&lt;/p>
&lt;h2 id="使用指南">使用指南&lt;/h2>
&lt;h3 id="站点参数设置">站点参数设置&lt;/h3>
&lt;p>以下参数都在&lt;code>[Params]&lt;/code>下&lt;/p>
&lt;h4 id="description">description&lt;/h4>
&lt;ul>
&lt;li>类型: 字符串&lt;/li>
&lt;/ul>
&lt;p>站点描述&lt;/p>
&lt;h4 id="mainsections">mainSections&lt;/h4>
&lt;ul>
&lt;li>类型:数组&lt;/li>
&lt;li>默认值:&lt;code>['story']&lt;/code>&lt;/li>
&lt;/ul>
&lt;h3 id="多语言设置">多语言设置&lt;/h3>
&lt;p>设置配置文件中&lt;code>DefaultContentLanguage&lt;/code>参数来选择语音,默认是&lt;code>en&lt;/code>,翻译文件在&lt;code>i18n&lt;/code> 目录下,支持以下类型,&lt;/p>
&lt;ul>
&lt;li>&lt;code>en&lt;/code> 英文&lt;/li>
&lt;li>&lt;code>zh-cn&lt;/code> 简体中文&lt;/li>
&lt;/ul>
&lt;p>例如想试用简体中文,则设置&lt;code>DefaultContentLanguage&lt;/code>为&lt;code>zh-cn&lt;/code>&lt;/p>
&lt;h3 id="状态文章格式">状态文章格式&lt;/h3>
&lt;p>&lt;code>content&lt;/code> 目录下创建一个&lt;code>memo&lt;/code>文件夹,里面就是正常的文章 md 文件&lt;/p>
&lt;pre tabindex="0">&lt;code>hugo new content memo/1.md
&lt;/code>&lt;/pre>&lt;p>站点参数配置&lt;/p>
&lt;pre tabindex="0">&lt;code>[Params]
mainSections = [&amp;#39;story&amp;#39;,&amp;#39;memo&amp;#39;]
&lt;/code>&lt;/pre>&lt;p>如果你想用其他别名也可以,&lt;code>memo&lt;/code>换为你想用的就可以了。&lt;/p>
&lt;h3 id="卡片分类页面使用方法">卡片分类页面使用方法&lt;/h3>
&lt;p>在&lt;code>content&lt;/code>目录下新建你想要使用模版的页面,比如你的分类是&lt;code>travel&lt;/code>,则新建&lt;code>categories/travel/_index.md&lt;/code>,然后编辑文件,设置&lt;code>layout&lt;/code>为&lt;code>travel&lt;/code> 即可&lt;/p>
&lt;pre tabindex="0">&lt;code>---
title: &amp;#34;旅行&amp;#34;
description: &amp;#34;旅行体验&amp;#34;
layout: travel
---
&lt;/code>&lt;/pre>&lt;h3 id="作者信息">作者信息&lt;/h3>
&lt;p>站点配置参数&lt;/p>
&lt;pre tabindex="0">&lt;code>[Params]
showAuthor = true
authorName = &amp;#39;bigfa&amp;#39;
authorDescription = &amp;#39;computer loser&amp;#39;
authorAvatar = &amp;#39;https://secure.gravatar.com/avatar/2fd7e2e17a671f8e3fade0706e0a667e?s=128&amp;amp;d=mm&amp;amp;r=g&amp;#39;
&lt;/code>&lt;/pre>&lt;h3 id="搜索">搜索&lt;/h3>
&lt;p>推荐使用&lt;code>algolia&lt;/code>,个人小站免费额度够用了。&lt;/p>
&lt;p>站点配置参数,设置成你自己的,主要不要暴露&lt;code>adminKey&lt;/code>&lt;/p></description></item><item><title>香港银行卡开户</title><link>https://bigfa.github.io/hugo-theme-notability/story/hongkong-bank/</link><pubDate>Fri, 15 Nov 2024 13:28:00 +0800</pubDate><guid>https://bigfa.github.io/hugo-theme-notability/story/hongkong-bank/</guid><description>&lt;p>
&lt;figure class="grap--figure">
&lt;img src="https://static.fatesinger.com/2024/11/jg31jxyxrwjutb6g.jpg" alt="HSBC HK 扣账卡" />
Expand Down
5 changes: 5 additions & 0 deletions category/hugo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
<span class=dot></span>
<a href=/hugo-theme-notability/category/hugo/>Hugo</a>
<span class=dot></span>
<span class=article--views></span></div></div></article><article class="articleItem articleItem__withImage" data-id=2d387407887294e1ddd892c8e1e2e449><img src=https://static.fatesinger.com/2024/12/2u80bhyxkmru4o9j.png class=cover><div class=content><h2 class=title><a href=https://bigfa.github.io/hugo-theme-notability/story/hugo-theme-hera/>Hugo 主题 Hero</a></h2><div class=summary>Hugo 主题 Hero 本主题使用古法制作,不依赖三方框架。
Hugo 当前版本 0.0.2, …</div><div class=time><time datetime='2025-01-03 13:36:01' class=humane--time>January 3, 2025</time>
<span class=dot></span>
<a href=/hugo-theme-notability/category/hugo/>Hugo</a>
<span class=dot></span>
<span class=article--views></span></div></div></article><article class="articleItem articleItem__withImage" data-id=d00e127d660117c1013aed76fceb9fbd><div class=content><h2 class=title><a href=https://bigfa.github.io/hugo-theme-notability/story/hugo-starter-05/>Hugo 简明教程 05</a></h2><div class=summary>本文主要讲解 hugo 目录结构和主题目录结构的基本逻辑。Hugo 中有一些概念如 UnionFS,Hugo pipes …</div><div class=time><time datetime='2024-06-27 10:11:06' class=humane--time>June 27, 2024</time>
<span class=dot></span>
<a href=/hugo-theme-notability/category/hugo/>Hugo</a>
Expand Down
60 changes: 59 additions & 1 deletion category/hugo/index.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hugo on Untitled</title><link>https://bigfa.github.io/hugo-theme-notability/category/hugo/</link><description>Recent content in Hugo on Untitled</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Thu, 27 Jun 2024 10:11:35 +0800</lastBuildDate><atom:link href="https://bigfa.github.io/hugo-theme-notability/category/hugo/index.xml" rel="self" type="application/rss+xml"/><item><title>Hugo 主题 Farallon</title><link>https://bigfa.github.io/hugo-theme-notability/story/hugo-theme-farallon/</link><pubDate>Mon, 30 Oct 2023 21:07:22 +0800</pubDate><guid>https://bigfa.github.io/hugo-theme-notability/story/hugo-theme-farallon/</guid><description>&lt;p>
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hugo on Untitled</title><link>https://bigfa.github.io/hugo-theme-notability/category/hugo/</link><description>Recent content in Hugo on Untitled</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Fri, 03 Jan 2025 13:36:45 +0800</lastBuildDate><atom:link href="https://bigfa.github.io/hugo-theme-notability/category/hugo/index.xml" rel="self" type="application/rss+xml"/><item><title>Hugo 主题 Farallon</title><link>https://bigfa.github.io/hugo-theme-notability/story/hugo-theme-farallon/</link><pubDate>Mon, 30 Oct 2023 21:07:22 +0800</pubDate><guid>https://bigfa.github.io/hugo-theme-notability/story/hugo-theme-farallon/</guid><description>&lt;p>
&lt;figure class="grap--figure">
&lt;img src="https://static.fatesinger.com/2023/06/u1ak8xgmyn9ec24r.png" alt="Hugo 主题 Farallon" />
&lt;figcaption class="imageCaption">Hugo 主题 Farallon&lt;/figcaption>
Expand Down Expand Up @@ -56,6 +56,64 @@ layout: travel
authorAvatar = &amp;#39;https://secure.gravatar.com/avatar/2fd7e2e17a671f8e3fade0706e0a667e?s=128&amp;amp;d=mm&amp;amp;r=g&amp;#39;
&lt;/code>&lt;/pre>&lt;h3 id="搜索">搜索&lt;/h3>
&lt;p>推荐使用&lt;code>algolia&lt;/code>,个人小站免费额度够用了。&lt;/p>
&lt;p>站点配置参数,设置成你自己的,主要不要暴露&lt;code>adminKey&lt;/code>&lt;/p></description></item><item><title>Hugo 主题 Hero</title><link>https://bigfa.github.io/hugo-theme-notability/story/hugo-theme-hera/</link><pubDate>Fri, 03 Jan 2025 13:36:45 +0800</pubDate><guid>https://bigfa.github.io/hugo-theme-notability/story/hugo-theme-hera/</guid><description>&lt;p>
&lt;figure class="grap--figure">
&lt;img src="https://static.fatesinger.com/2024/12/2u80bhyxkmru4o9j.png" alt="Hugo 主题 Hero" />
&lt;figcaption class="imageCaption">Hugo 主题 Hero&lt;/figcaption>
&lt;/figure>
&lt;/p>
&lt;blockquote>
&lt;p>本主题使用古法制作,不依赖三方框架。&lt;/p>
&lt;/blockquote>
&lt;p>Hugo 当前版本 &lt;code>0.0.2&lt;/code>,最后更新日期 &lt;code>2025/01/03&lt;/code>&lt;/p>
&lt;p>


&lt;a href="https://bigfa.github.io/hugo-theme-hera/" target="_blank" rel="noopener" >演示地址&lt;/a>
&lt;/p>
&lt;h2 id="使用指南">使用指南&lt;/h2>
&lt;h3 id="站点参数设置">站点参数设置&lt;/h3>
&lt;p>以下参数都在&lt;code>[Params]&lt;/code>下&lt;/p>
&lt;h4 id="description">description&lt;/h4>
&lt;ul>
&lt;li>类型: 字符串&lt;/li>
&lt;/ul>
&lt;p>站点描述&lt;/p>
&lt;h4 id="mainsections">mainSections&lt;/h4>
&lt;ul>
&lt;li>类型:数组&lt;/li>
&lt;li>默认值:&lt;code>['story']&lt;/code>&lt;/li>
&lt;/ul>
&lt;h3 id="多语言设置">多语言设置&lt;/h3>
&lt;p>设置配置文件中&lt;code>DefaultContentLanguage&lt;/code>参数来选择语音,默认是&lt;code>en&lt;/code>,翻译文件在&lt;code>i18n&lt;/code> 目录下,支持以下类型,&lt;/p>
&lt;ul>
&lt;li>&lt;code>en&lt;/code> 英文&lt;/li>
&lt;li>&lt;code>zh-cn&lt;/code> 简体中文&lt;/li>
&lt;/ul>
&lt;p>例如想试用简体中文,则设置&lt;code>DefaultContentLanguage&lt;/code>为&lt;code>zh-cn&lt;/code>&lt;/p>
&lt;h3 id="状态文章格式">状态文章格式&lt;/h3>
&lt;p>&lt;code>content&lt;/code> 目录下创建一个&lt;code>memo&lt;/code>文件夹,里面就是正常的文章 md 文件&lt;/p>
&lt;pre tabindex="0">&lt;code>hugo new content memo/1.md
&lt;/code>&lt;/pre>&lt;p>站点参数配置&lt;/p>
&lt;pre tabindex="0">&lt;code>[Params]
mainSections = [&amp;#39;story&amp;#39;,&amp;#39;memo&amp;#39;]
&lt;/code>&lt;/pre>&lt;p>如果你想用其他别名也可以,&lt;code>memo&lt;/code>换为你想用的就可以了。&lt;/p>
&lt;h3 id="卡片分类页面使用方法">卡片分类页面使用方法&lt;/h3>
&lt;p>在&lt;code>content&lt;/code>目录下新建你想要使用模版的页面,比如你的分类是&lt;code>travel&lt;/code>,则新建&lt;code>categories/travel/_index.md&lt;/code>,然后编辑文件,设置&lt;code>layout&lt;/code>为&lt;code>travel&lt;/code> 即可&lt;/p>
&lt;pre tabindex="0">&lt;code>---
title: &amp;#34;旅行&amp;#34;
description: &amp;#34;旅行体验&amp;#34;
layout: travel
---
&lt;/code>&lt;/pre>&lt;h3 id="作者信息">作者信息&lt;/h3>
&lt;p>站点配置参数&lt;/p>
&lt;pre tabindex="0">&lt;code>[Params]
showAuthor = true
authorName = &amp;#39;bigfa&amp;#39;
authorDescription = &amp;#39;computer loser&amp;#39;
authorAvatar = &amp;#39;https://secure.gravatar.com/avatar/2fd7e2e17a671f8e3fade0706e0a667e?s=128&amp;amp;d=mm&amp;amp;r=g&amp;#39;
&lt;/code>&lt;/pre>&lt;h3 id="搜索">搜索&lt;/h3>
&lt;p>推荐使用&lt;code>algolia&lt;/code>,个人小站免费额度够用了。&lt;/p>
&lt;p>站点配置参数,设置成你自己的,主要不要暴露&lt;code>adminKey&lt;/code>&lt;/p></description></item><item><title>Hugo 简明教程 05</title><link>https://bigfa.github.io/hugo-theme-notability/story/hugo-starter-05/</link><pubDate>Thu, 27 Jun 2024 10:11:35 +0800</pubDate><guid>https://bigfa.github.io/hugo-theme-notability/story/hugo-starter-05/</guid><description>&lt;p>本文主要讲解 hugo 目录结构和主题目录结构的基本逻辑。Hugo 中有一些概念如 UnionFS,Hugo pipes 对普通用户来说很难理解,我这里尽量用白话来解释,可能不是很准确,但能让你大致理解 hugo 的文件逻辑。&lt;/p>
&lt;h3 id="联合文件系统">联合文件系统&lt;/h3>
&lt;p>首先要理解一个概念就是 Union file system(联合文件系统),简单来说就是可以多个目录挂载到同一个位置。当两个或多个文件具有相同路径的时候,优先级的顺序遵循挂载的顺序。比如可以将任意目录挂载到&lt;code>content&lt;/code>文件夹下。
Expand Down
Loading

0 comments on commit c959f1a

Please sign in to comment.