Skip to content
View pihang's full-sized avatar

Block or report pihang

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
pihang/README.md

语言:中文 | English

1. git clone 拉取代码

① 用git clone的方式拉取代码至桌面,此时会在桌面生成sulv-hugo-papermod目录

② 进入到sulv-hugo-papermod目录,输入git submodule update --init,表示拉取themes/hugo-PaperMod/下的子模块,里面放的是官方主题

2. 启动界面

③ 把目录回退到sulv-hugo-papermod,在终端输入hugo server -D,在浏览器输入:localhost:1313 即可看到现成的博客模板。

3. 修改信息

模板内部有许多个人信息需要自己配置,请耐心修改完,可以参考博主的建站教程:https://www.sulvblog.cn/posts/blog/

4. Hugo博客交流群

🎉🎉 787018782 🎉🎉

5. shortcodes使用方法

bilibili: {{< bilibili BV1Fh411e7ZH(填 bvid) >}}

youtube: {{< youtube w7Ft2ymGmfc >}}

ppt: {{< ppt src="网址" >}}

douban: {{< douban src="网址" >}}

# src中的链接一定不要加https://或http://,可以选择不加www;若desc写了,则在浏览器会显示desc的值
link: {{< link src="www.sulvblog.cn" desc="https://www.sulvblog.cn" >}}
gallery:

{{< gallery >}}
{{< figure src="https://www.sulvblog.cn/posts/read/structural_thinking/0.png" >}}
{{< figure src="https://www.sulvblog.cn/posts/read/structural_thinking/0.png" >}}
{{< /gallery >}}

5. 可能遇到的问题

  1. 有些使用者会部署到github,可能遇到跨系统的问题,如提示LF will be replaced by CRLF in ******,这时输入命令:git config core.autocrlf false,解决换行符自动转换的问题。

Popular repositories Loading

  1. GA-GAN GA-GAN Public

    Traffic state data imputation

    Python 11 1

  2. LangChain-SerpApi-start LangChain-SerpApi-start Public

    Forked from liaokongVFX/LangChain-Chinese-Getting-Started-Guide

    LangChain 的中文入门教程

    2

  3. pihang pihang Public

    Config files for my GitHub profile.

    HTML

  4. blogph blogph Public

    HTML

  5. LangChain-ChatGLM-Webui LangChain-ChatGLM-Webui Public

    Forked from X-D-Lab/LangChain-ChatGLM-Webui

    基于LangChain和ChatGLM-6B等系列LLM的针对本地知识库的自动问答

    Python

  6. minbpe minbpe Public

    Forked from karpathy/minbpe

    Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.

    Python