jbake-org / jbake-example-project-thymeleaf Goto Github PK
View Code? Open in Web Editor NEWExample project structure for JBake using Thymeleaf templates
License: MIT License
Example project structure for JBake using Thymeleaf templates
License: MIT License
Hello,
I'd like to simplify / optimize ThymeLeaf templates with respect to content.rootpath usage.
There's a bunch of redundancy in "th:with" for setting the rootpath to use.
If no objections come up I'd like to create a patch an open a pull request.
What's the general opinion about this?
Thanks and regards,
Peter
this code is giving whole site sitemap, but i need to restrict some pages which can not be rendered. any solution?
for example
http://localhost:8820/contact/thank-you.html
2013-09-24
It should not be generate in the sitemap.xml
The archive page is showing the month for each th:each even though the posts belong to the same month. It renders the month header for each post instead of grouping them by month. Seems like the following line does not update the outer (outside the span) last_month variable.
<span th:remove='all' th:with='last_month = ${#dates.format(post.date,"MMMM yyyy")}'/>
https://github.com/jbake-org/jbake-example-project-thymeleaf/blob/master/templates/archive.thyme#L17
I am not sure how to fix this using thymeleaf only. If you can provide some hints, I will be happy to take a look and contribute back. Thank you !
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.