Giter VIP home page Giter VIP logo

my blog

  1. 安装 hugo 扩展版
  2. 克隆仓库 git clone https://gitee.com/liwanggui/liwanggui.com.git
  3. 拉取主题 git submodule update --init --recursive
  4. 开始写作
# 创建新文章
hugo new posts/<filename>.md

# 预览
hugo server

# 发布 -> public/
hugo

更新主题

# 可以将这个主题仓库添加为你的网站目录的子模块。
git submodule add https://github.com/HEIGE-PCloud/DoIt.git themes/DoIt

# 可以通过这条命令来将主题更新至最新版本。
git submodule update --remote --merge

图片引入

# 可以加标题
{{< figure src="/images/lighthouse.jpg" title="Lighthouse (figure)" >}}

# 点击可以悬浮放大
{{< image src="/images/lighthouse.jpg" caption="Lighthouse (`image`)" src_s="/images/lighthouse-small.jpg" src_l="/images/lighthouse-large.jpg" >}}

# 参数链接: https://hugoloveit.com/zh-cn/theme-documentation-extended-shortcodes/#image

liwanggui's Projects

howtocook icon howtocook

程序员在家做饭方法指南。Programmer's guide about how to cook at home (Chinese only).

jenkinsdocs icon jenkinsdocs

Jenkins实践文档 最新站点地址: http://www.idevops.site

macos-tool icon macos-tool

开发效率提升:Mac生产力工具链推荐

to-vim icon to-vim

如何让 vim 成为我们的神器

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.