Skip to content

maupassant-hugo 魔改版本引进了个人的一些设置和优化

License

Notifications You must be signed in to change notification settings

udpsec/maupassant-hugo-v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maupassant

Maupassant theme, ported to Hugo.

  1. Preview: 码中春秋's Blog
  2. 中文文档

A simple Hugo template with great performance on different devices, ported from a Typecho theme by Cho, forked and modified from 飞雪无情的博客.

Preview

template preview

Features

Installation

cd <YOUR Bolg Root Dir>
git clone https://github.com/udpsec/maupassant-hugo-v2.git themes/maupassant

Configuration

Apply theme

theme = "maupassant"

Basic Configuration

baseURL = "https://blog.inofd.com"
languageCode = "zh-CN"
title = "码中春秋's Blog"
theme = "maupassant"

[author]
  name = "码中春秋"

[params]
  author = "码中春秋"
  subtitle = "专注于数字安全、网络安全、隐私保护、网络运维、Java"
  keywords = "码中春秋,博客,,inofd,java,python,项目管理,软件架构,网络安全,数字安全,隐私保护"
  description = "专注于IT互联网和数字安全,包括但不限于Java、Python、数字安全隐私保护等"

Menus

[menu]
  [[menu.main]]
    identifier = "archives"
    name = "存档"
    url = "/archives/"
    weight = 2
  [[menu.main]]
    identifier = "about"
    name = "关于"
    url = "/about/"
    weight = 3

friend links

[[params.links]]
  title = "码中春秋"
  name = "码中春秋"
  url = "https://blog.inofd.com/"

Google Analytics

googleAnalytics = "GA ID"

Disqus

disqusShortname = "yourdiscussshortname"

Page View Support

[params]
  busuanzi = true

Gitalk

---
gitalk: true
---

config.toml

[params]
clientID=''
clientSecret=''
owner=''
repo=''
admin=''

TOC

---
TableOfContents: true
---

Article link Static

#Similarly, in the new article, add the date url after the date of writing the new generated article, and write the English of the article.

url: /2018/06/16/manjaro-installer-beautify-config.html

Contributing

All kinds of contributions (enhancements, new features, documentation & code improvements, issues & bugs reporting) are welcome.

Looking forward to your pull request.

Maupassant on other platforms