Giter Site home page Giter Site logo

Comments (4)

eremid avatar eremid commented on August 16, 2024

Hello,

Try with :

params:
  logo:
     text: "coucou" (if empty = site.Title
     icon: "logo.png"
     iconHeight: 50 (default 30)

from hugo-papermodx.

istvnurbn avatar istvnurbn commented on August 16, 2024

Hi,

After doing the suggested update I have the following error messages:

Start building sites …
hugo v0.104.3+extended darwin/arm64 BuildDate=unknown
WARN 2022/10/13 10:42:59 No image found for /posts/002/img_001.jpg from posts/002-kotty.md
ERROR 2022/10/13 10:42:59 render of "page" failed: "myhugoproject/themes/PaperModX/layouts/_default/baseof.html:17:8": execute of template failed: template: _default/single.html:17:8: executing "_default/single.html" at <partialCached "header.html" . .Page>: error calling partialCached: "myhugoproject/themes/PaperModX/layouts/partials/header.html:94:33": execute of template failed: template: partials/header.html:94:33: executing "partials/header.html" at <$img.Permalink>: nil pointer evaluating resource.Resource.Permalink
ERROR 2022/10/13 10:42:59 render of "taxonomy" failed: "myhugoproject/themes/PaperModX/layouts/_default/baseof.html:17:8": execute of template failed: template: _default/terms.html:17:8: executing "_default/terms.html" at <partialCached "header.html" . .Page>: error calling partialCached: "myhugoproject/themes/PaperModX/layouts/partials/header.html:94:33": execute of template failed: template: partials/header.html:94:33: executing "partials/header.html" at <$img.Permalink>: nil pointer evaluating resource.Resource.Permalink
ERROR 2022/10/13 10:42:59 render of "home" failed: "myhugoproject/themes/PaperModX/layouts/_default/baseof.html:17:8": execute of template failed: template: _default/list.html:17:8: executing "_default/list.html" at <partialCached "header.html" . .Page>: error calling partialCached: "myhugoproject/themes/PaperModX/layouts/partials/header.html:94:33": execute of template failed: template: partials/header.html:94:33: executing "partials/header.html" at <$img.Permalink>: nil pointer evaluating resource.Resource.Permalink
ERROR 2022/10/13 10:42:59 render of "page" failed: "myhugoproject/themes/PaperModX/layouts/_default/baseof.html:17:8": execute of template failed: template: _default/single.html:17:8: executing "_default/single.html" at <partialCached "header.html" . .Page>: error calling partialCached: "myhugoproject/themes/PaperModX/layouts/partials/header.html:94:33": execute of template failed: template: partials/header.html:94:33: executing "partials/header.html" at <$img.Permalink>: nil pointer evaluating resource.Resource.Permalink
Error: Error building site: failed to render pages: render of "page" failed: "myhugoproject/themes/PaperModX/layouts/_default/baseof.html:17:8": execute of template failed: template: _default/single.html:17:8: executing "_default/single.html" at <partialCached "header.html" . .Page>: error calling partialCached: "myhugoproject/themes/PaperModX/layouts/partials/header.html:94:33": execute of template failed: template: partials/header.html:94:33: executing "partials/header.html" at <$img.Permalink>: nil pointer evaluating resource.Resource.Permalink

from hugo-papermodx.

eremid avatar eremid commented on August 16, 2024

Try with your logo image in assets directory.
If you configure :

params:
  logo:
     icon: "/img/logo.png"

you need to have /assets/img/logo.png file.

from hugo-papermodx.

istvnurbn avatar istvnurbn commented on August 16, 2024

That did the trick, thanks!

from hugo-papermodx.

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.