<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Shape on Asher's Blog</title><link>https://huan11.github.io/tags/shape/</link><description>Recent content in Shape on Asher's Blog</description><generator>Hugo -- 0.147.7</generator><language>en-us</language><lastBuildDate>Sat, 27 Jul 2024 08:45:23 +0800</lastBuildDate><atom:link href="https://huan11.github.io/tags/shape/index.xml" rel="self" type="application/rss+xml"/><item><title>How to set up Static Blog?</title><link>https://huan11.github.io/posts/blog/set-up-blog/</link><pubDate>Sat, 27 Jul 2024 08:45:23 +0800</pubDate><guid>https://huan11.github.io/posts/blog/set-up-blog/</guid><description>&lt;h1 id="dependencies">Dependencies&lt;/h1>
&lt;p>Setup static blog&lt;/p>
&lt;ol>
&lt;li>Git &lt;a href="https://git-scm.com/downloads">https://git-scm.com/downloads&lt;/a>&lt;/li>
&lt;li>Hugo &lt;a href="https://github.com/gohugoio/hugo">https://github.com/gohugoio/hugo&lt;/a>&lt;/li>
&lt;li>[optional] markdown editor: Typora&lt;/li>
&lt;/ol>
&lt;p>Automatic Deploy&lt;/p>
&lt;ol>
&lt;li>GitHub Action &lt;a href="https://docs.github.com/en/actions/quickstart">https://docs.github.com/en/actions/quickstart&lt;/a>&lt;/li>
&lt;/ol>
&lt;h1 id="how-to-set-up-static-blog">How to set up Static Blog?&lt;/h1>
&lt;h2 id="setup-static-blog3-steps">Setup static blog(3 steps)&lt;/h2>
&lt;p>Reuse the others framework&lt;/p>
&lt;blockquote>
&lt;p>&lt;a href="https://github.com/xyming108/sulv-hugo-papermod">https://github.com/xyming108/sulv-hugo-papermod&lt;/a>&lt;/p>
&lt;p>preview : &lt;a href="https://www.sulvblog.cn/">https://www.sulvblog.cn/&lt;/a>&lt;/p>&lt;/blockquote>
&lt;p>step 1 clone&lt;/p>
&lt;pre tabindex="0">&lt;code>git clone https://github.com/xyming108/sulv-hugo-papermod.git
&lt;/code>&lt;/pre>&lt;p>step2 download theme&lt;/p>
&lt;pre tabindex="0">&lt;code>git submodule update --init
&lt;/code>&lt;/pre>&lt;p>Step3 start the&lt;/p>
&lt;pre tabindex="0">&lt;code>hugo server -D
&lt;/code>&lt;/pre>&lt;h2 id="deploy-automatically-steps">Deploy automatically( steps)&lt;/h2>
&lt;p>Step create GitHub repo(must public)&lt;/p>
&lt;p>&lt;img alt="image-20240727090114870" loading="lazy" src="https://huan11.github.io/posts/blog/set-up-blog/img/image-20240727090114870.png">&lt;/p>
&lt;p>&lt;img alt="image-20240727090210786" loading="lazy" src="https://huan11.github.io/posts/blog/set-up-blog/img/image-20240727090210786.png">&lt;/p>
&lt;p>Step set up GitHub upstream&lt;/p>
&lt;pre tabindex="0">&lt;code>git remote add origin git@github.com:huan11/huan11.github.io.git
&lt;/code>&lt;/pre>&lt;p>Step Add your notes and push the changes&lt;/p></description></item></channel></rss>