barklan / hugo-dead-simple Goto Github PK
View Code? Open in Web Editor NEWDead simple Hugo theme.
Home Page: https://hugo-dead-simple.netlify.app
License: MIT License
Dead simple Hugo theme.
Home Page: https://hugo-dead-simple.netlify.app
License: MIT License
This theme looks great. Here are some suggestions which I feel can make it more usable for people:
exampleSite
folder, and add some sample content in itHi, great theme, I'm using your approach for dynamic toc in my theme.
One suggestion - add throttle to minimize calls for scroll handler:
https://github.com/barklan/hugo-dead-simple/blob/de7287d81664f397c467a7c76736e5cc8ca4b7b2/layouts/partials/footer_scripts.html#L44C5-L44C52
Find a way to make galleries. Requirements:
row
flag to specify number of images in one rowlink
or a
Remove twoimg shortcode after that.
Right now the only thing that uses jquery is dynamic toc. Rewrite it in vanilla js.
I don't know if this is the right place to report this, but the link to the demo site is returning 404.
That site was a really good reference for the syntax. If it's not going to be online anymore then maybe it should be added to this repo? Some hugo themes include an exampleSite
folder with the source code to the demo.
Currently, the theme does not work in a subfolder due to the link
elements not correctly using relative paths. Consider the following:
<link rel="stylesheet" href="{{ "/css/style.css" | relURL }}" />
This appears like it should work superficial, but in reality href
s that begin with a slash
do not become relative under relURL function:
As a best practice, never include a leading slash when using this function.
As such, the stylesheets and other metadata do not get loaded. The fix is to remove the leading slash.
A PR is forthcoming if you'd like to use it.
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.