-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.xml
108 lines (92 loc) · 5.07 KB
/
index.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Trackpoint | UP</title>
<link>https://whfever.github.io/</link>
<description>Recent content on Trackpoint | UP</description>
<generator>Hugo -- gohugo.io</generator>
<language>zh-cn</language>
<lastBuildDate>Thu, 24 Nov 2022 01:34:27 +0800</lastBuildDate>
<atom:link href="https://whfever.github.io/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>关于</title>
<link>https://whfever.github.io/about/</link>
<pubDate>Sat, 20 Aug 2022 21:38:52 +0800</pubDate>
<guid>https://whfever.github.io/about/</guid>
<description><p>陌生人您好 ,欢迎在我的博客留下 👣</p>
<p><img src="https://cdn.jsdelivr.net/gh/whfever/figure/2022/1988.jpg" alt="1988"></p>
</description>
</item>
<item>
<title>Picgo</title>
<link>https://whfever.github.io/post/picgo/</link>
<pubDate>Thu, 24 Nov 2022 01:34:27 +0800</pubDate>
<guid>https://whfever.github.io/post/picgo/</guid>
<description><h2 id="设置">设置</h2>
<blockquote>
<p>CDN加速</p>
</blockquote>
<pre tabindex="0"><code>https://cdn.jsdelivr.net/gh/用户名/仓库名
</code></pre><p><img src="https://cdn.jsdelivr.net/gh/whfever/figure//montain.png" alt=""></p>
<blockquote>
<p>改ip</p>
</blockquote>
<pre tabindex="0"><code>C:\Windows\System32\drivers\etc\hosts
185.199.108.133 raw.githubusercontent.com
</code></pre><p><img src="https://raw.githubusercontent.com/whfever/figure/main/2022%E9%98%85%E8%AF%BB%E7%9A%84%E9%80%BB%E8%BE%91.png" alt="阅读"></p>
<div class="img1">
<img src="https://cdn.jsdelivr.net/gh/whfever/figure/2022/image-20221124052043807.png" alt="image-20221124052043807" style="zoom:25%;text-align: center;" />
</div>
</description>
</item>
<item>
<title>Hugo</title>
<link>https://whfever.github.io/post/hugo/</link>
<pubDate>Sat, 15 Oct 2022 00:00:00 +0000</pubDate>
<guid>https://whfever.github.io/post/hugo/</guid>
<description><h2 id="install-hugo">Install Hugo</h2>
<p>Download the appropriate version for your platform from Hugo Releases. Once downloaded, the binary can be run from anywhere. Ideally, you should install it somewhere in your PATH for easy use. /usr/local/bin is the most probable location.</p>
<h2 id="create-a-new-site">Create a New Site</h2>
<p>hugo new site myBlog
The above will create a new Hugo site in a folder named myBlog.</p>
<h2 id="use-theme">Use Theme</h2>
<pre tabindex="0"><code>cd myBlog
git clone https://github.com/xianmin/hugo-theme-jane.git --depth=1 themes/jane
</code></pre><p>Copy the example site content:</p>
<pre tabindex="0"><code>cp -r themes/jane/exampleSite/content ./
Copy the default site config:
cp themes/jane/exampleSite/config.toml ./
</code></pre><p>Take a look at the example site:</p>
<h2 id="start">start</h2>
<pre tabindex="0"><code>hugo server
</code></pre><p>Open http://localhost:1313/ , you will see your site running with the example content.</p>
<h2 id="hightlight-code">hightlight code</h2>
<pre tabindex="0"><code> &lt;link href=&#34;https://cdn.bootcss.com/highlight.js/10.0.1/styles/monokai.min.css&#34; rel=&#34;stylesheet&#34;&gt;
&lt;script src=&#34;https://cdn.bootcss.com/highlight.js/10.0.1/highlight.min.js&#34;&gt;&lt;/script&gt;
&lt;script&gt;hljs.initHighlightingOnLoad();&lt;/script&gt;
</code></pre><h2 id="图片">图片</h2>
<pre tabindex="0"><code>![hugo](/image/example.jpg)
</code></pre><h2 id="shortcode">shortcode</h2>
<p>bilibili</p>
<pre tabindex="0"><code>`<iframe
src="//player.bilibili.com/player.html?bvid=BV1464y187dL&page=1"
scrolling="no"
height="768px"
width="1024px"
frameborder="no"
framespacing="0"
allowfullscreen="true"
>
</iframe>
`
</code></pre><h2 id="goldmark">goldmark</h2>
<p><em><strong>config.toml</strong></em></p>
<pre tabindex="0"><code>[markup]
defaultMarkdownHandler = &#34;goldmark&#34;
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
</code></pre></description>
</item>
</channel>
</rss>