Comments (4)
Hello,
Try with :
params:
logo:
text: "coucou" (if empty = site.Title
icon: "logo.png"
iconHeight: 50 (default 30)
from hugo-papermodx.
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.
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.
That did the trick, thanks!
from hugo-papermodx.
Related Issues (20)
- [Feature request] Allow to copy link to a particular anchor
- Comment Section being cut off HOT 1
- Date too close to to date icon in meta data
- The TocSide does't work for me
- Theme variant does't work
- [BUG] HOT 1
- How to modify toc css HOT 1
- Tags页面不显示Tag
- [BUG] The selected menu text color is the same as background in dark mode HOT 3
- Problem with Image-Markdown definition in 'Content:' parameter HOT 1
- floating TOC is not scrolling down [BUG]
- toc text wrap behaviour weird [BUG]
- [Feature Request] Mastodon-compatible social link for verification HOT 1
- Not Support MKV Format?
- automatically switch themes HOT 2
- How to left align images by default
- Responsive figures HOT 2
- Has this fork been abandoned? HOT 2
- [BUG] Archives page renders as list page HOT 1
- Unable to change highlight syntax theme and codeblock size
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 hugo-papermodx.