utkarshverma / hugo-modules Goto Github PK
View Code? Open in Web Editor NEWCollection of Hugo modules which I use and develop.
License: MIT License
Collection of Hugo modules which I use and develop.
License: MIT License
Hello I was using your module but had some issues when using a resource (resource.Get..) as a an argument for .icon. When looping over pages and using the page bundle resources icon the icon would repeatedly show the first input.
I cloned your code and messed around until I noticed that just replacing partialCached with partial seemed to fix the issue.
UPDATE -- You can ignore this
I didn't realize it, but setting the Hugo parameter relativeURLs to false fixes this behavior ...
This is an edge case, and I can fix it by creating my own partial from yours, but:
Suggested solution: another parameter that causes img to use Permalink rather than RelPermalink, which I'd use in my page header and if I used any images in 404.html
https://craftycto.com is the site. PaperModX theme.
I'm not sure if there is an easy fix for this I'm unaware of, so apologies in advance.
On my site I'm using a theme that already defines a partial named "svg" internally, so there is no way for me to use the module partial.
Would it be possible to pass extra data into the partial? e.g tailwind utility classes.
{{ partial "svg" "fas fa-star" "w-12 h-12 fill-blue-500" }}
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.