Skip to content

tofuwine/PaperMod-PE

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PaperMod PE | Demo


PaperMod PE 是 Hugo-PaperMod 的个性化版本。

快速开始

  1. 安装 Hugo。参考文档:Hugo Docs's - Quick Start (需要 Hugo 版本 >= v0.125.3)

  2. 创建 Hugo Site

# 将下面 MySite 替换为你的网站名
hugo new site MySite --format yml

更多命令参考:Hugo Docs's - hugo new site command

  1. 启用 Git
cd MySite
git init .
git add .
  1. 安装 PaperMod-PE 主题
git submodule add --depth=1 https://github.com/tofuwine/PaperMod-PE.git themes/PaperMod-PE
  1. 修改 Hugo 配置文件:
theme: PaperMod-PE

文档

点击前往:PaperMod-PE Documents

变更说明

本项目对 Hugo-PaperMod 进行了功能及样式修改,主要内容如下:

样式

单位由 px 改用 rem / em,为简化计算,设置 html: font-size: 62.5%;

转换计算:

  • 10px = 1rem
  • 16px = 1.6rem

FAQ

主题更新

使用如下命令更新主题:

git submodule update --init --recursive

About

Hugo-PaperMod Personalized Edition

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 74.4%
  • CSS 18.9%
  • JavaScript 6.7%