Comments (4)
参考例子的配置
from maupassant-hugo.
我也遇到了同样的问题,然后看了下别的分类文件夹下生成的都是rss的xml,请问是怎么解决的?谢谢
from maupassant-hugo.
参考下例子。分类下的xml文件不用管。
from maupassant-hugo.
@rujews 我是按照例子写的。烦请帮忙看下
同时还有一个warning
found no layout file for "HTML" for "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
languageCode = "en-us"
DefaultContentLanguage = "zh-cn"
DefaultContentLanguageInSubdir = true
title = "**"
theme = "maupassant"
copyright = "Everything is mine"
publishDir = "public"
MetaDataFormat = "yaml"
SectionPagesMenu = "main"
Paginate = 10 # this is set low for demonstrating with dummy content. Set to a higher number
googleAnalytics = "UA-**"
enableRobotsTXT = true
# [sitemap]
# changefreq = "monthly"
# priority = 0.5
# filename = "sitemap.xml"
## 保持分类的原始名字(false会做转小写处理)
preserveTaxonomyNames = true
## 是否禁止URL Path转小写
disablePathToLower = true
hasCJKLanguage = true
summaryLength = 70
[author]
name = "**"
[params]
## maupassant配置
subtitle = "***"
keywords = "***"
description = ""
localSearch = true
busuanzi = true
## 配置结束
[menu]
[[menu.main]]
identifier = "books"
name = "文章"
url = "/books/"
weight = 2
[[menu.main]]
identifier = "abroad"
name = "生活"
url = "/abroad/"
weight = 3
[[menu.main]]
identifier = "about"
name = "关于"
url = "/about/"
weight = 4
[params.cc]
name = "知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议"
link = "https://creativecommons.org/licenses/by-nc-nd/4.0/"
from maupassant-hugo.
Related Issues (20)
- 一些小需求(期望交流) HOT 4
- 配置了 googleAnalytics 好像生效生效 HOT 3
- [问题]新建菜单,菜单下如何挂载文章 HOT 2
- 申请加入深色浅色切换功能 HOT 2
- hugo v0.96.0 代码块越界 HOT 1
- Hugo的错误链接localhost HOT 1
- 是否可以支持一下脑图?
- description 的内容不是文章摘要吗? HOT 2
- 老大你好,看文档说支持插入视频 HOT 1
- 本地搜索只能搜索标题,不能搜索正文;独立页面没有代码复制功能 HOT 4
- 增加国际化支持后,samplesite语言设置作调整,且有两个位置无法实现国际化 HOT 1
- 增加国际版后的问题 HOT 2
- 请求支持一款特别漂亮的标签 HOT 1
- 大佬可否考虑移植到 gridea 博客平台?
- 是否支持文章上显示作者名字?
- Hugov0.115.3,编译错误,search/single.html:58:171: {{i18n "continueReading"}} HOT 1
- 问题反馈:代码块不支持自动换行,溢出正文区域? HOT 1
- 启用本地搜索后报错
- 开启toc后,无法正常显示 HOT 3
- 请问是否有控制右边栏tag显示的功能 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maupassant-hugo.