Giter Site home page Giter Site logo

hugo-theme-fluency's People

Contributors

wayjam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hugo-theme-fluency's Issues

关于主题rss源构建警告

在使用版本hugo_extended_0.115.3_windows-amd64进行网页构建时出现以下警告:

WARN  Site.RSSLink is deprecated and will be removed in a future release. 
Use the Output Format's Permalink method instead, 
e.g. .OutputFormats.Get "RSS".Permalink

望请及时更新。感谢作者的优秀主题!

at <.>: range can't iterate over linux

$ hugo -D
Start building sites …
hugo v0.88.1+extended darwin/amd64 BuildDate=unknown
WARNING: calling IsSet with unsupported type "ptr" (*hugolib.pageState) will always return false.
ERROR 2021/10/11 14:16:01 render of "page" failed: execute of template failed: template: _default/single.html:6:5: executing "_default/single.html" at <partial "head.html" .>: error calling partial: "/Users/shaocongcong/Documents/gowork/src/github.com/congim/blog/themes/fluency/layouts/partials/head.html:40:67": execute of template failed: template: partials/head.html:40:67: executing "partials/head.html" at <.>: range can't iterate over linux
ERROR 2021/10/11 14:16:01 render of "page" failed: execute of template failed: template: _default/single.html:6:5: executing "_default/single.html" at <partial "head.html" .>: error calling partial: "/Users/shaocongcong/Documents/gowork/src/github.com/congim/blog/themes/fluency/layouts/partials/head.html:40:67": execute of template failed: template: partials/head.html:40:67: executing "partials/head.html" at <.>: range can't iterate over linux
ERROR 2021/10/11 14:16:01 render of "page" failed: execute of template failed: template: _default/single.html:6:5: executing "_default/single.html" at <partial "head.html" .>: error calling partial: "/Users/shaocongcong/Documents/gowork/src/github.com/congim/blog/themes/fluency/layouts/partials/head.html:40:67": execute of template failed: template: partials/head.html:40:67: executing "partials/head.html" at <.>: range can't iterate over linux
ERROR 2021/10/11 14:16:01 render of "page" failed: execute of template failed: template: _default/single.html:6:5: executing "_default/single.html" at <partial "head.html" .>: error calling partial: "/Users/shaocongcong/Documents/gowork/src/github.com/congim/blog/themes/fluency/layouts/partials/head.html:40:67": execute of template failed: template: partials/head.html:40:67: executing "partials/head.html" at <.>: range can't iterate over 学?
ERROR 2021/10/11 14:16:01 render of "page" failed: execute of template failed: template: _default/single.html:6:5: executing "_default/single.html" at <partial "head.html" .>: error calling partial: "/Users/shaocongcong/Documents/gowork/src/github.com/congim/blog/themes/fluency/layouts/partials/head.html:40:67": execute of template failed: template: partials/head.html:40:67: executing "partials/head.html" at <.>: range can't iterate over linux
Error: Error building site: failed to render pages: render of "term" failed: "/Users/shaocongcong/Documents/gowork/src/github.com/congim/blog/themes/fluency/layouts/_default/list.html:13:19": execute of template failed: template: _default/list.html:13:19: executing "main" at <.>: range can't iterate over db
Total in 144 ms

config.yaml 在`zeabur.com`的部署问题

zeabur现在更改了部署流程,需要把config.yaml改名为hugo.toml放在要发布网站的根目录下,下面这个网址是官方的示例页面:
https://github.com/zeabur/hugo-template
使用旧的config.yaml时会出现以下错误:

Error: "/src/hugo.toml:13:13": unmarshal failed: toml: expected character =
Error: building at STEP "RUN hugo --minify": while running runtime: exit status 255
exit status 255

下面是要上传部署网站的源文件目录:

archetypes
- default.md
content
 - archives
 - posts
   -(发布的文章)
 - about.md
 - archives.md
public
- .keep(文件夹不能为空)
themes
- fluency
hugo.toml

尝试把config.yaml里的”:“改为”=“;”-“改为”=“后仍部署失败,变量名不能含有”-“。

我尝试了另一个配置模板搭建了别的网站(不用fluency主题,一个网址导航站),部署成功,下面是它的hugo.toml

baseURL               = "网址"
languageCode          = "zh-CN"
title                 = "网站标题"
theme                 = "WebStack-Hugo"
preserveTaxonomyNames = true
disablePathToLower    = true
hasCJKLanguage        = true

[params]
    author        = "作者名"
    description   = "描述"
    siteurl       = "./"
    upload        = "网址" 
    about         = "./about" 
    repository    = "https://github.com/shenweiyan/WebStack-Hugo"
    enablePreLoad = true	
    textPreLoad   = "网址导航" 
    expandSidebar = false     
    logosPath     = "assets/images/logos"
    defaultLogo   = "assets/images/logos/default.webp"  
    baiduhmid     = '111111111111111111111111111'    

[params.qweather]
    key = "11111111111111111"

[params.images]
    favicon           = "assets/images/favicon.png"
    searchImageL      = "assets/images/bg-math.jpg"
    searchImageD      = "assets/images/bg-math-b.jpg"	
    logoExpandLight   = "assets/images/logos/default.webp"
    logoExpandDark    = "assets/images/logos/default.webp"
    logoCollapseLight = "assets/images/logos/default.webp"
    logoCollapseDark  = "assets/images/logos/default.webp"

[markup.goldmark.renderer]
    unsafe = true

[params.footer]
    copyright = '本站内容源自互联网,如有内容侵犯了你的权益,请联系删除相关内容,请到个人博客查看联系方式 <br/>&copy; 2021 - {year} By [WebStack-Hugo](https://github.com/shenweiyan/WebStack-Hugo) | <br/>'

感谢您的主题

Build does not occurs from 0.89 version

An error occurs while building any static website from 0.89 version. There is a typo at the file layouts/partials/post_metadata.html that rises an error saying that "The Lastmod field could not be evaluated."

This can be fixed just replacing the uppercase "M" letter at line 4 of this file by a lowercase one (LastMod -> Lastmod).

Best,
Adriano.

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.