WebDev

WebDev

26 bookmarks
Custom sorting
How to Build a Jamstack Site with Next.js and Vercel - Jamstack Handbook
How to Build a Jamstack Site with Next.js and Vercel - Jamstack Handbook
The Jamstack architecture is a modern approach to an old idea: making fast, static websites, but making them dynamic with tools like JavaScript. How can we leverage the web framework Next.js and hosting platform Vercel to build and deploy performant...
·freecodecamp.org·
How to Build a Jamstack Site with Next.js and Vercel - Jamstack Handbook
Automad / Getting Started
Automad / Getting Started
Automad is a PHP application and therefore requires a web server to run. However, the list of system requirements is rather short. You can choose between three ...
·automad.org·
Automad / Getting Started
How do I implement social login with GitHub accounts?
How do I implement social login with GitHub accounts?
I just spent about a week's worth of effort figuring out how to do this, so I thought I'd write up an explanation to save future developers time. The short(er) answer You'll want to follow this gui...
·stackoverflow.com·
How do I implement social login with GitHub accounts?
Hugo Wikilink Support | Quinn Casey
Hugo Wikilink Support | Quinn Casey
The static site generator Hugo doesn’t yet support Wikilinks. This is being considered on this github issue, but in the meantime we need to parse each page’s content to replace wikilinks with a relref internal page link. I use the following code snippet to support wikilinks in Hugo. It can be invoked when you’d normally use {{ .Content }} by calling this instead: {{- partial "content-with-wikilinks" . -}}. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 {{/* Prints page content with two types of wikilinks rendered (with and without text).
·quinncasey.com·
Hugo Wikilink Support | Quinn Casey
Variables | Jekyll • Simple, blog-aware, static sites
Variables | Jekyll • Simple, blog-aware, static sites
Jekyll traverses your site looking for files to process. Any files with front matter are subject to processing. For each of these files, Jekyll makes a variety of data available via Liquid. The following is a reference of the available data.
·jekyllrb.com·
Variables | Jekyll • Simple, blog-aware, static sites
Parsing Backlinks in Hugo ❚ A Scripter's Notes
Parsing Backlinks in Hugo ❚ A Scripter's Notes
As of writing this (%3C2022-04-19%20Tue%3E), Hugo doesn’t have a built-in way to generate a list of such backlinks, though there’s an open issue (# 8077) to track this feature request. One way to gather a list of backlinks to a post is to find out that post’s relative or absolute permalink, and search for the occurrences of that link in all the other posts on the published site. The author of seds.nl: Export org-roam backlinks with Gohugo, Ben Mezger, uses this approach in his solution for creating backlinks in that post. In this post, I am expanding upon that solution and refactoring it bit to fit my needs.
·scripter.co·
Parsing Backlinks in Hugo ❚ A Scripter's Notes
Stacks · Bootstrap v5.1
Stacks · Bootstrap v5.1
Stack things vertically or horizontally using Bootstrap. I don't know how I didn't discover this page so much sooner...
·getbootstrap.com·
Stacks · Bootstrap v5.1