Skip to content

Commit

Permalink
Update default and Publish new post'
Browse files Browse the repository at this point in the history
  • Loading branch information
MicroMilo committed Jul 8, 2024
1 parent 48fe62f commit 69cef7a
Show file tree
Hide file tree
Showing 14 changed files with 500 additions and 25 deletions.
14 changes: 8 additions & 6 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }}
draft = true
summary = "The summary content"
+++
---
title: '{{ replace .File.ContentBaseName "-" " " | title }}'
date: {{ .Date }}
draft: true
tags:
-
summary: "The summary content"
---
4 changes: 3 additions & 1 deletion content/post/2024-07-07-夏季中长跑训练.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
+++
title = '夏季中长跑训练'
date = 2024-07-07T18:01:28+08:00
draft = true
draft = false
tags:
- 跑步
summary = "加练!!"
+++

Expand Down
4 changes: 2 additions & 2 deletions public/categories/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
</path>
</svg>
Posts
<span class="Counter">3</span>
<span class="Counter">4</span>
</a>
</nav>
<div class="profile-color-modes js-promo-color-modes-banner-profile isInitialToggle">
Expand Down Expand Up @@ -421,7 +421,7 @@ <h2 class="mb-2 h4">Organizations</h2>
</path>
</svg>
Posts
<span class="Counter ">3</span>
<span class="Counter ">4</span>
</a>
</nav>
</div>
Expand Down
38 changes: 36 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
</path>
</svg>
Posts
<span class="Counter">3</span>
<span class="Counter">4</span>
</a>
</nav>
<div class="profile-color-modes js-promo-color-modes-banner-profile isInitialToggle">
Expand Down Expand Up @@ -422,7 +422,7 @@ <h2 class="mb-2 h4">Organizations</h2>
</path>
</svg>
Posts
<span class="Counter ">3</span>
<span class="Counter ">4</span>
</a>
</nav>
</div>
Expand All @@ -447,6 +447,34 @@ <h2 class="f4 mb-2 text-normal">
</h2>
<ol class="d-flex flex-wrap list-style-none gutter-condensed mb-4 js-pinned-items-reorder-list">

<li class="col-12 col-md-6 col-lg-6 mb-3 d-flex flex-content-stretch">
<div
class="Box pinned-item-list-item d-flex p-3 width-full js-pinned-item-list-item public source reorderable sortable-button-item">
<div class="pinned-item-list-item-content">
<div class="d-flex width-full flex-items-center position-relative">
<svg class="octicon octicon-repo mr-2 text-gray flex-shrink-0" viewBox="0 0 16 16" version="1.1"
width="16" height="16">
<path fill-rule="evenodd"
d="M2 2.5A2.5 2.5 0 014.5 0h8.75a.75.75 0 01.75.75v12.5a.75.75 0 01-.75.75h-2.5a.75.75 0 110-1.5h1.75v-2h-8a1 1 0 00-.714 1.7.75.75 0 01-1.072 1.05A2.495 2.495 0 012 11.5v-9zm10.5-1V9h-8c-.356 0-.694.074-1 .208V2.5a1 1 0 011-1h8zM5 12.25v3.25a.25.25 0 00.4.2l1.45-1.087a.25.25 0 01.3 0L8.6 15.7a.25.25 0 00.4-.2v-3.25a.25.25 0 00-.25-.25h-3.5a.25.25 0 00-.25.25z">
</path>
</svg>
<a class="text-bold flex-auto min-width-0" href="http://localhost:1313/post/2024-07-07-%E5%A4%8F%E5%AD%A3%E4%B8%AD%E9%95%BF%E8%B7%91%E8%AE%AD%E7%BB%83/">
<span class="repo" title="夏季中长跑训练">夏季中长跑训练</span>
</a>
</div>


<div name="summary" class="pinned-item-desc text-gray text-small d-block mt-2 mb-3">
加练!!
</div>

<p class="mb-0 f6 text-gray">

</p>
</div>
</div>
</li>

<li class="col-12 col-md-6 col-lg-6 mb-3 d-flex flex-content-stretch">
<div
class="Box pinned-item-list-item d-flex p-3 width-full js-pinned-item-list-item public source reorderable sortable-button-item">
Expand Down Expand Up @@ -570,6 +598,12 @@ <h2 class="f4 mb-2 text-normal">


<div class="mt-4 position-relative" id="contributions" data='[
{
"title": "%e5%a4%8f%e5%ad%a3%e4%b8%ad%e9%95%bf%e8%b7%91%e8%ae%ad%e7%bb%83",
"link": "http://localhost:1313/post/2024-07-07-%E5%A4%8F%E5%AD%A3%E4%B8%AD%E9%95%BF%E8%B7%91%E8%AE%AD%E7%BB%83/",
"publishDate": "2024-07-07%2018:01:28"
},
{
"title": "%e6%96%97%e7%a0%b4%e8%8b%8d%e7%a9%b9%e8%af%bb%e5%90%8e%e6%84%9f",
"link": "http://localhost:1313/post/2024-04-12-%E6%96%97%E7%A0%B4%E8%8B%8D%E7%A9%B9/",
Expand Down
9 changes: 8 additions & 1 deletion public/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,15 @@
<description>Recent content on Milo&#39;s blog</description>
<generator>Hugo</generator>
<language>zh-cn</language>
<lastBuildDate>Fri, 12 Apr 2024 00:00:00 +0000</lastBuildDate>
<lastBuildDate>Sun, 07 Jul 2024 18:01:28 +0800</lastBuildDate>
<atom:link href="http://localhost:1313/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>夏季中长跑训练</title>
<link>http://localhost:1313/post/2024-07-07-%E5%A4%8F%E5%AD%A3%E4%B8%AD%E9%95%BF%E8%B7%91%E8%AE%AD%E7%BB%83/</link>
<pubDate>Sun, 07 Jul 2024 18:01:28 +0800</pubDate>
<guid>http://localhost:1313/post/2024-07-07-%E5%A4%8F%E5%AD%A3%E4%B8%AD%E9%95%BF%E8%B7%91%E8%AE%AD%E7%BB%83/</guid>
<description>加练!!</description>
</item>
<item>
<title>斗破苍穹读后感</title>
<link>http://localhost:1313/post/2024-04-12-%E6%96%97%E7%A0%B4%E8%8B%8D%E7%A9%B9/</link>
Expand Down
Loading

0 comments on commit 69cef7a

Please sign in to comment.