nunjucks
Jekyll
nunjucks | Jekyll | |
---|---|---|
42 | 255 | |
8,462 | 48,439 | |
0.3% | 0.6% | |
2.0 | 8.8 | |
3 months ago | 2 days ago | |
JavaScript | Ruby | |
BSD 2-clause "Simplified" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nunjucks
-
How to Integrate Astro With ApostropheCMS pt. 1
In ApostropheCMS, templates are where code and content become web pages. Specifically, templates are written in normal HTML markup with special tags and are based on the Nunjucks template language. Thus, they are .html files placed in the /views subfolder of an ApostropheCMS module.
-
How to Build an Ecommerce Website with ApostropheCMS
This starter Kit has been created by Corllete in partnership with Apostrophe. From a technical point of view, the ecommerce project is based on several UI components. Each of them relies entirely on Tailwind CSS for styling, with no additional CSS files. These components are organized in macros and fragments coming from the default server-side template engine Nunjucks.
- Why to use htmlx if we can continue using Django templates
- Django templates in the frontend
-
Django Template Development
So there's Nunjucks, a frontend templating language inspired by jinja2, which itself is based on the Django template language. You could try that, and mock in data from JSON when required until you're ready to use real Django.
-
Does anyone kind of miss simpler webpages?
The linked one is my Rails implementation, written for ViewComponent. The official version uses Nunjucks.
-
What is the best framework for an existing node project that has html files?
The template engine is Nunjucks.
-
Repeating Navigation, Header, and Footer in CSS and HTML?
Take a look on Nunjucks a templating language by Mozilla . You can use Gulp to start with it, check gulp-nunjucks-render.
-
How to have multiple HTML pages have the same template layout?
Try out Nunjucks https://mozilla.github.io/nunjucks/ . It does exactly what you want.
- Nunjucks – A rich and powerful templating language for JavaScript
Jekyll
-
Creating excerpts in Astro
This blog is running on Hugo. It had previously been running on Jekyll. Both these SSGs ship with the ability to create excerpts from your markdown content in 1 line or thereabouts.
-
Craft Your GitHub Profile Page in 60 Seconds with Zero Code, Absolutely Free
Jekyll
-
Ask HN: Looking for lightweight personal blogging platform
In future, if you want to move from Jekyll to something else, you just have to worry about that `_posts` and `_assets` folder. They may have different naming convention but you can just config-managed it or change it to your choice. This is why I suggested owning that two yourself.
You also may not worry about FrontMatter[3] (meta in the header) and its accompanying jazz by asking Jekyll to use the plugins `jekyll-optional-front-matter` and `jekyll-titles-from-headings`. These comes as part of the officially supported Jekyll plugins[4] by Github. That way, you are just writing a human-readable plain-text spiced up with Markdown and readable by almost every other Static Site Generator.
Now, play with the `_config.yml` that Jekyll generates for you from the theme above to define your post dates, navigation, and others. Jekyll is one of the OGs — the Gandalf of Static Site Generators. If you have a problem, someone somewhere has solved that.
Did I missed something? I was supposed to write a blog article for my website on this one and this comment will serve as my starting bullet points.
1. https://docs.github.com/en/pages/setting-up-a-github-pages-s...
2. https://jekyllrb.com
3. https://frontmatter.codes/docs/markdown
4. https://docs.github.com/en/pages/setting-up-a-github-pages-s...
-
Where are the layouts!? And where is the site object loaded from? (Chirpy Theme)
"Using the Chirpy theme for Jekyll."
-
Any FOSS to make HTML websites for self-hosting?
I would suggest looking into static site generators. Some popular examples, which are used myself are: - Hugo: https://gohugo.io/ - Jekyll: https://jekyllrb.com
- How do i replicate GTFOBins layout ?
- Release v4.3.2 · jekyll/jekyll
-
How To Choose the Best Static Site Generator and Deploy it to Kinsta for Free
In terms of GitHub stars, SSGs like Next.js, Hugo, Gatsby, Docusaurus, Nuxt.js, and Jekyll top the list. Some popular SSGs even host conferences and workshops, providing resources and networking opportunities for those looking to explore more advanced topics in depth.
-
How to run Jekyll on Kubernetes
I created my blog using Jekyll, a great open-source tool that can transform your markdown content into a simple, old-fashioned-but-trendy, static site. What are the advantages of this approach? The site is super-light, super-fast, super-secure and SEO-friendly. Of course, it’s not always the best solution, but for some use cases, like a simple personal blog, it’s really a good option.
-
AWS Customers Cannot Escape IPv4
Yes, it's Markdown and I use https://jekyllrb.com with the theme "jekyll-theme-hacker" to generate the site. I quite like how simple it is.
What are some alternatives?
EJS - Embedded JavaScript templates -- http://ejs.co
Hugo - The world’s fastest framework for building websites.
handlebars.js - Minimal templating on steroids.
Middleman - Hand-crafted frontend development
Jade - Pug – robust, elegant, feature rich template engine for Node.js
Pelican - Static site generator that supports Markdown and reST syntax. Powered by Python.
Liquid - Liquid markup language. Safe, customer facing template language for flexible web apps.
Bridgetown - A next-generation progressive site generator & fullstack framework, powered by Ruby
mustache.js - Minimal templating with {{mustaches}} in JavaScript
Hexo - A fast, simple & powerful blog framework, powered by Node.js.
marko - A declarative, HTML-based language that makes building web apps fun
Lektor - The lektor static file content management system