GithubHelp home page GithubHelp logo

Comments (4)

rujews avatar rujews commented on July 18, 2024

参考例子的配置

from maupassant-hugo.

TinoGuo avatar TinoGuo commented on July 18, 2024

我也遇到了同样的问题,然后看了下别的分类文件夹下生成的都是rss的xml,请问是怎么解决的?谢谢

from maupassant-hugo.

rujews avatar rujews commented on July 18, 2024

参考下例子。分类下的xml文件不用管。

from maupassant-hugo.

TinoGuo avatar TinoGuo commented on July 18, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.