ACupofAir / ACupofAir.github.io

ACupofAir's Blog

Home Page:https://acupofair.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ACupofAir's Blog Source

⚙️ Setup

  1. clone the repertory

    git clone git@github.com:ACupofAir/ACupofAir.github.io.git
  2. install hugo-extended

  • on ubuntu(22.04 verify)

    sudo apt install hugo

🧰 Usage

New Post

  • hugo new post/folder_name/index.md will create file_name.md
  • hugo new file_name.md will touch file_name.md in posts/file_name.md
  • the default temperate is archetypes/default.md

Tags and Categories Used

  • Tags: note, sum, database, python, compile, diff, electron, git, life, linux, powershell
  • Categories: Course Notes, Python Tips, Shell Tips, New Years Sum

Short Code

  • notice
    • notice table

      type color meaning
      error red very important, must be attentioned
      warning yellow need attention
      note blue useful note, summary
      tip green talented idea, fantastic note
    • notice usage

      {{< notice $type_name >}}
      This is a colorful card.
      {{< /notice >}}

Run Preview Local

  • hugo server --disableFastRender

Deploy to Website

  • Just push the repo to github, I have generated CI system which can auto create public htmls on github.

About

ACupofAir's Blog

https://acupofair.github.io/


Languages

Language:HTML 41.6%Language:SCSS 35.3%Language:TypeScript 23.1%Language:Shell 0.0%