dim0627 / hugo_theme_aglaus Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
hugo --uglyURLs
You end up at /tags/foo/
, but the working link would be /tags/foo.html
.
An error occurred when I tried to execute the env HUGO_ENV="DEV" hugo server --watch --buildDrafts=true --buildFuture=true -t aglaus
command with the following error message:
WARN 2023/06/02 15:25:29 Failed to read module config for "aglaus" in "/data/docwebh/themes/aglaus/theme.toml": "_stream.toml:8:19": unmarshal failed: toml: float can have at most one decimal point
Start building sites …
hugo v0.112.5-48e33e10af2feb2a0e1c32d04880ed016619f2d8 linux/amd64 BuildDate=2023-05-29T07:27:36Z VendorInfo=gohugoio
ERROR 2023/06/02 15:25:29 render of "page" failed: "/data/docwebh/themes/aglaus/layouts/_default/baseof.html:4:7": execute of template failed: template: _default/single.html:4:7: executing "_default/single.html" at <partial "meta.html" .>: error calling partial: "/data/docwebh/themes/aglaus/layouts/partials/meta.html:6:8": execute of template failed: template: partials/meta.html:6:8: executing "partials/meta.html" at <.Hugo.Generator>: can't evaluate field Hugo in type *hugolib.pageState
ERROR 2023/06/02 15:25:29 render of "taxonomy" failed: "/data/docwebh/themes/aglaus/layouts/_default/baseof.html:4:7": execute of template failed: template: _default/terms.html:4:7: executing "_default/terms.html" at <partial "meta.html" .>: error calling partial: "/data/docwebh/themes/aglaus/layouts/partials/meta.html:6:8": execute of template failed: template: partials/meta.html:6:8: executing "partials/meta.html" at <.Hugo.Generator>: can't evaluate field Hugo in type *hugolib.pageState
ERROR 2023/06/02 15:25:29 render of "page" failed: "/data/docwebh/themes/aglaus/layouts/_default/baseof.html:4:7": execute of template failed: template: _default/single.html:4:7: executing "_default/single.html" at <partial "meta.html" .>: error calling partial: "/data/docwebh/themes/aglaus/layouts/partials/meta.html:6:8": execute of template failed: template: partials/meta.html:6:8: executing "partials/meta.html" at <.Hugo.Generator>: can't evaluate field Hugo in type *hugolib.pageState
ERROR 2023/06/02 15:25:29 render of "taxonomy" failed: "/data/docwebh/themes/aglaus/layouts/_default/baseof.html:4:7": execute of template failed: template: _default/terms.html:4:7: executing "_default/terms.html" at <partial "meta.html" .>: error calling partial: "/data/docwebh/themes/aglaus/layouts/partials/meta.html:6:8": execute of template failed: template: partials/meta.html:6:8: executing "partials/meta.html" at <.Hugo.Generator>: can't evaluate field Hugo in type *hugolib.pageState
Built in 38 ms
Error: error building site: render: failed to render pages: render of "home" failed: "/data/docwebh/themes/aglaus/layouts/_default/baseof.html:4:7": execute of template failed: template: _default/list.html:4:7: executing "_default/list.html" at <partial "meta.html" .>: error calling partial: "/data/docwebh/themes/aglaus/layouts/partials/meta.html:6:8": execute of template failed: template: partials/meta.html:6:8: executing "partials/meta.html" at <.Hugo.Generator>: can't evaluate field Hugo in type *hugolib.pageState
Is this problem caused by the version? Thank you!
Hi @dim0627, really nice theme! Just tried it. I think there's something wrong with pagination on the main page because I see all my latest posts (which actually all of it) when I view a post. Thanks!
hugo --uglyURLs
generates 2.html
etc., but the pagination links generated in your layouts/partials/paginatoin.html
point to page/2
etc.
In the single
partial, Is there a way to only lists some of the posts rather than all of them? Thanks
.layouts/_default/single.html
needs updated.
Hi!
First is the very same as dim0627/hugo_theme_beg#19
Second, something is wrong with the font, it looks very strange in Russian:
Source I've built to discover these errors.
Building site for theme aglaus using config /var/folders/n6/s_85mm8d31j6yctssnmn_g1r0000gn/T/config-aglaus.toml
ERROR: 2015/10/08 Error while rendering page about.md: template: theme/_default/single.html:49:30: executing "theme/_default/single.html" at <.Site.Recent>: Recent is not a field of struct type *hugolib.SiteInfo
hugo failed: exit status 255
Hi
Great theme! thanks for sharing.
I've recently run into a problem when I run hugo
or hugo server
I get this error message:
Error: "C:\projects\Hugo\Sites\projectname\themes\hugo_theme_aglaus\layouts\_default\li.html:8:1": parse failed: template: _default/li.html:8: unexpected unclosed action in parenthesized pipeline
I'm using the latest code for li.html
And I am using Hugo v0.54
Any ideas how to fix it?
Hello @dim0627
Currently your theme demo fails because since gohugoio/hugo@7930d21 support for .Source
has been removed from Hugo 0.50
In your theme's templates please replace all instances of .Source.Path
with .File.Path
so that your theme's demo is generated once again.
The above replacement should be done to the following templates:
line 12 of layouts/_default/single.html
line 1 of layouts/_default/li.html
line 1 of layouts/_default/li_sm.html
line 1 of layouts/_default/summary.html
line 19 of layouts/_default/baseof.html
Please do this and let me know.
Thanks!
CC / @digitalcraftsman
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.