eleventy-base-blog
nunjucks
eleventy-base-blog | nunjucks | |
---|---|---|
28 | 41 | |
1,158 | 8,451 | |
1.0% | 0.2% | |
6.4 | 2.0 | |
4 days ago | 2 months ago | |
Nunjucks | JavaScript | |
MIT License | BSD 2-clause "Simplified" 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.
eleventy-base-blog
-
From Jason: my custom digital garden in 11ty
11ty is a lightweight static site generator. I chopped up my HTML and used the 11ty starter template called eleventy-base-blog as the structural foundation for the site.
-
It's 2023. How are you developing simple static websites?
Sure! It's on github at https://github.com/nosecreek/dustin-lammiman - I started with https://github.com/11ty/eleventy-base-blog for the basic templating logic.
-
11 Top Eleventy Blog Themes (Starters) in 2023
Eleventy Base Blog demo site Source
-
Stop delaying. Share knowledge on a blog built with Eleventy.
To generate a static blog, we will be using Eleventy. Using the blog example from Eleventy as a base for our blog. Clone the repository:
-
Can you "call" another HTML file within an HTML file?
I would do this with Eleventy which is a powerful static site generator with support for html partials (partial is what I call your toolbar here). You would use the template language nunjucks which Eleventy comes with support for, or you can choose plain html too if you don't want the Nunjucks capabilities for logic like if/else, for loops, javascript injection of dynamic values in your html at site generation time, etc. This repo shows most of the techniques you could need and use: https://github.com/11ty/eleventy-base-blog
-
Getting Started with 11ty
For the second site I made using 11ty, I used this repo which is a more advanced 11ty template that can be customized. After following the instructions in the README.md file and edited all the markdown I came up with this:
-
Working with 11ty/eleventy to make Blogs
Pre-established Eleventy Blog Template Go to eleventy base blog to clone the repository to your local file/folder.
-
Creating a Blog with 11ty and HAX11ty
The next example we'll look at goes more into depth of 11ty. We are creating this site from this template.
- Getting Started with Vercel
-
Intro to 11ty
Say you want a more professonal looking site without having to do a lot of extra work, youβre in luck! 11ty has a community that has created templates that are available at this site. For this example, we will use the eleventy-base-blog, make sure to go to this repo and select the USE THIS TEMPLATE button to make a copy of the project in your namespace.
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
What are some alternatives?
eleventy πβ‘οΈ - A simpler site generator. Transforms a directory of templates (of varying types) into HTML.
EJS - Embedded JavaScript templates -- http://ejs.co
eleventy-soft-ui-design - Eleventy (11ty) - Soft UI Design | AppSeed
handlebars.js - Minimal templating on steroids.
neat-starter - Starter Template for Netlify CMS, Eleventy, Alpine JS & Tailwind CSS
Jade - Pug β robust, elegant, feature rich template engine for Node.js
eleventy-chirpy-blog-template - Blog template for 11ty based on Chirpy UX
Liquid - Liquid markup language. Safe, customer facing template language for flexible web apps.
assemblylift - The easiest way to build & deploy cloud native microservices! Written in Rust, powered by WebAssembly π
mustache.js - Minimal templating with {{mustaches}} in JavaScript
eleventy-template-blog
marko - A declarative, HTML-based language that makes building web apps fun