Skip to content

Commit

Permalink
add some blogs
Browse files Browse the repository at this point in the history
  • Loading branch information
QianKuang8 committed Dec 10, 2024
1 parent 5ee8239 commit e46a1be
Show file tree
Hide file tree
Showing 42 changed files with 4,177 additions and 214 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
https://gohugo.io/hosting-and-deployment/hosting-on-github/
https://gohugo.io/getting-started/quick-start/
https://github.com/adityatelange/hugo-PaperMod/wiki/Installation
6 changes: 6 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,10 @@
date: '{{ .Date }}'
draft: true
title: '{{ replace .File.ContentBaseName "-" " " | title }}'
summary: "Please add summary"
description: "Please add description"
tags: ["default"]
author: "Qian"
isCJKLanguage: true
showToc: true
---
98 changes: 98 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
baseURL: https://example.org/
defaultContentLanguage: zh
copyright: "© [Qian](https://github.com/QianKuang8) 2024"
title: Qian's blog
theme: ["PaperMod"]
pagination:
pagerSize: 10

enableInlineShortcodes: true
enableRobotsTXT: true
buildDrafts: false
buildFuture: false
buildExpired: false
enableEmoji: true
pygmentsUseClasses: true
mainsections: ["posts", "papermod"]

minify:
disableXML: true

outputs:
home:
- HTML
- RSS
- JSON # necessary for search

menu:
main:
- name: 首页
url: /
weight: 10
- name: 归档
url: archives/
weight: 20
- name: 分类
url: tags
weight: 30
- name: 搜索
url: search/
weight: 40
- name: Github
url: https://github.com/QianKuang8

params:
env: production # to enable google analytics, opengraph, twitter-cards and schema.
title: ExampleSite
description: "Qian's Blog"
# keywords: [Blog, Portfolio, PaperMod]
author: Qian
images: ["<link or path of image for opengraph, twitter-cards>"]
DateFormat: "2006-01-02"

ShowReadingTime: true
ShowShareButtons: false
ShowPostNavLinks: true
ShowBreadCrumbs: false
ShowCodeCopyButtons: true
ShowWordCount: true
ShowRssButtonInSectionTermList: false
UseHugoToc: true
disableSpecial1stPost: false
disableScrollToTop: false
comments: false
hidemeta: false
hideSummary: false
showtoc: false
tocopen: false

homeInfoParams:
Title: "Qian's Blog"
# imageUrl: "images/something"
# imageTitle: "title"
# imageWidth: 240
# imageHeight: 240
Content: >
What can I say?
# <!-- 👋 Welcome to demo page of Hugo's theme PaperMod! -->

# <!-- - **PaperMod** is designed to be clean and simple but fast and responsive theme with useful feature-set that enhances UX. -->

# <!-- - Feel free to show your support by giving us a star 🌟 on GitHub and sharing with your friends and social media . -->

# <!-- - PaperMod is based on theme [Paper](https://github.com/nanxiaobei/hugo-paper/tree/4330c8b12aa48bfdecbcad6ad66145f679a430b3). -->



# socialIcons:
# - name: github
# title: View Source on Github
# url: "https://github.com/adityatelange/hugo-PaperMod"

markup:
goldmark:
renderer:
unsafe: true
highlight:
noClasses: false
4 changes: 4 additions & 0 deletions content/archive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: "归档"
layout: "archives"
---
31 changes: 31 additions & 0 deletions content/posts/build-blog-tips.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
date: '2024-12-08'
title: '搭建博客tips'
summary: "一些如何搭建博客和创建博文的记录"
description: "一些如何搭建博客和创建博文的记录"
tags: ["blog", "default"]
author: "Qian"
isCJKLanguage: true
showToc: true
---
## 简介
本博客使用Hugo框架,主题使用PaperMod

## 常用操作
创建页面

`hugo new content content/posts/my-first-post.md`

本地浏览

`hugo server -D`

## 初始化的一些操作
需要配置一下首页的yaml,这个直接对着PaperMod的Wiki和其Example的yaml照搬一下就行

## 参考资料
- https://gohugo.io/hosting-and-deployment/hosting-on-github/
- https://gohugo.io/getting-started/quick-start/
- https://github.com/adityatelange/hugo-PaperMod/wiki/Installation


117 changes: 117 additions & 0 deletions content/posts/init-mac.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
---
date: '2024-12-10T17:22:55+08:00'
title: '初始化Mac系统'
summary: "记录一下初始化一个Mac系统需要干些什么"
description: "记录一下初始化一个Mac系统需要干些什么"
tags: ["init","default"]
author: "Qian"
isCJKLanguage: true
showToc: true
---
# 初始化Mac

## 开发软件

### Sublime Text

install package control

设置鼠标滚轮缩放大小: https://blog.csdn.net/dmcpxy/article/details/98854954

Mac终端中使用Sublime打开文件: https://www.jianshu.com/p/b77f058dd4a7

### Homebrew

国内安装: https://brew.idayer.com/

终端使用代理加速的正确方式: https://weilining.github.io/294.html

### iTerm2

https://zhuanlan.zhihu.com/p/550022490

插件安装建议自己上github看,里面很多东西说的都有些不对


### Sequel Ace

Sql Client

https://github.com/Sequel-Ace/Sequel-Ace

### Typora

https://typora.io/

### Visual Studio Code

https://code.visualstudio.com/


### SourceGit

Git GUI

https://sourcegit-scm.github.io/

## 效率工具

### 输入法

任意中文输入法,方便shift切换中英文输入

### Snipaste

截图+贴图

https://www.snipaste.com/

### Go2Shell

finder下当前目录打开shell

https://zipzapmac.com/Go2Shell

### hidden

隐藏顶端状态栏图标

https://github.com/dwarvesf/hidden

### Scroll Reverser

鼠标滚轮反向

https://pilotmoon.com/scrollreverser/

### Rectangle

分屏软件,有windows中的快速分屏体验

https://github.com/rxhanson/Rectangle

### uTools

建议插件:json, diff, 翻译

https://www.u.tools/

### Skim

pdf阅读软件

https://skim-app.sourceforge.io/

## Chrome插件

### screenity

录屏软件

### OneTap

收纳标签

### 沉浸式翻译

翻译软件
5 changes: 0 additions & 5 deletions content/posts/my-first-post.md

This file was deleted.

8 changes: 8 additions & 0 deletions content/search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: "Search" # in any language you want
layout: "search" # necessary for search
# url: "/archive"
# description: "Description for Search"
summary: "search"
placeholder: "请输入要搜索的内容"
---
4 changes: 0 additions & 4 deletions hugo.yaml

This file was deleted.

Loading

0 comments on commit e46a1be

Please sign in to comment.