john-doe
eleventy πβ‘οΈ
john-doe | eleventy πβ‘οΈ | |
---|---|---|
12 | 244 | |
454 | 16,249 | |
- | 1.0% | |
0.0 | 9.3 | |
over 1 year ago | 2 days ago | |
HTML | JavaScript | |
The Unlicense | 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.
john-doe
- John Doe single-file HTML website template - uses the #anchor suffix and the :target CSS selector to show and hide pages/content. This setup is databaseless, javascriptless, and buildshit-free, so you can edit your website with a text editor and upload it somewhere like a normal person
- John DOE single-file HTML website template
-
How to Build a Personal Webpage from Scratch (In 2022)
I really like the John Doe template. Everything is in one HTML file and one CSS file: https://github.com/cadars/john-doe/
From the readme: βThis setup is databaseless, javascriptless, and buildshit-free, so you can edit your website with a text editor and upload it somewhere like a normal person.β
-
How can I show an anchor by default?
I'm following this guide to use #anchor and :target selector to have multiple pages in a single HTML file, for fun. However, I'm not sure how to show my home page anchor by default. From reading the source code, the author does that by just doing:
- A Whole Website in a Single HTML File
-
A whole website and a single HTML file
The author of the site linked in the article suggests a couple of Markdown options for this on their blog page [1]. In this, they link a port of their website as a Jekyll theme [2].
1. https://john-doe.neocities.org/#blog
2. https://github.com/bradleytaunt/john-doe-jekyll
-
Photosheet: a CSS-only image gallery with display options, lightbox, slideshow, and images counter
Thanks! It's built mostly with :target (like https://john-doe.neocities.org), :focus-within to select the parent element of the :target, input:checked radio buttons for the thumbnail sizes, and counter() for the pagination.
- A full website in 1.7 KB (all assets included)
eleventy πβ‘οΈ
-
Converting BlogCFC blog to Eleventy
This post outlines the steps for migrating an existing BlogCFC blog to a JamStack, with a focus on using Eleventy.
-
Ask HN: What's the simplest static website generator?
I suggest you to try out eleventhy (https://www.11ty.dev/)
Quite simple to start, and a nice system to add some scripting and styles without the requirement of bringing in a framework.
-
Eleventy - Create a global production flag
A production flag enables you to run activities in dev or production such as minifying assets, showing draft posts, etc. There isn't a built-in flag or function that comes with eleventy (11ty) specifically for this. However we have this info at our fingertips.
-
Ask HN: Looking for lightweight personal blogging platform
I can't recommend Eleventy enough!
https://www.11ty.dev
I converted my WordPress blog to Eleventy 4 years ago and never looked back, it's been delightful!
https://www.joshcanhelp.com/taking-wordpress-to-eleventy/
-
Removing React is just weakness leaving your codebase
Itβs 2024, and you are about to start a new project. Do you reach for React, a framework you know and love or do you look at one of the other hot new frameworks like Astro, Enhance, 11ty, SvelteKit or gasp, plain vanilla Web Components?
-
VS Code - Fix a task automation issue - `The terminal process failed to launch (exit code: 127`
The "dev" script is running the eleventy server in dev mode. The details of the script are not important for this discussion, but to round out the background here is an abbreviated version of my package.json:
-
Eleventy vs. Next.js for static site generation
Eleventy is a fast and powerful SSG that really shines when it comes to pure static site generation because it does not require the loading of a client-side JavaScript bundle in order to serve content.
-
You don't need JavaScript for that
The irony is using a JavaScript-based static site generator to make the site: https://www.11ty.dev
-
Why You Should Write Your Own Static Site Generator
https://doublejosh.com/post/186193119278/metalsmithjs-is-sti...
Then two years ago I needed a more robust SSR system based on React, so I went with GatsbyJS. It's insanely mature and intuitive, but as we all know that community and business is now drying up too. But the framework is still great.
Now everyone sings the praises of NextJS, which can be used for SSR but is intended for applications and active server endpoints. But more complexity doesn't mean better.
I'm keen to try other simple frameworks when the result is a static site. I may give https://www.11ty.dev a shot.
-
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.
What are some alternatives?
auth0-javascript-samples - Auth0 Integration Samples for Vanilla JavaScript Applications
astro - The web framework for content-driven websites. βοΈ Star to support our work!
TiddlyWiki - A self-contained JavaScript wiki for the browser, Node.js, AWS Lambda etc.
Hugo - The worldβs fastest framework for building websites.
portable-php - A blog in one HTML file
SvelteKit - web development, streamlined
Publii - The most intuitive Static Site CMS designed for SEO-optimized and privacy-focused websites.
Gatsby - The best React-based framework with performance, scalability and security built in.
raito - Mini Markdown Wiki/CMS in 8kb of JavaScript
validator - Nu Html Checker β Helps you catch problems in your HTML/CSS/SVG
Grav - Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS powered by PHP, Markdown, Twig, and Symfony