You are here |
www.aleksandrhovhannisyan.com | ||
| | | |
www.dannyguo.com
|
|
| | | | ||
| | | |
helenchong.dev
|
|
| | | | How I added a button to copy code snippets to my website with JavaScript. | |
| | | |
aaronluna.dev
|
|
| | | | Hugo includes a built-in syntax-highlighter called Chroma. Chroma is extremely fast since it is written in pure Go (like Hugo) and supports every language I can think of. Chroma's speed is especially important since syntax highlighters are notorious for causing slow page loads. However, it lacks one vital feature - an easy way to copy a code block to the clipboard. I decided to document my implementation using only vanilla JS since every blog post I found for this issue relied on jquery to parse the DOM,... | |
| | | |
michaelneuper.com
|
|
| | Setting up your own static website can be a great way to showcase your personal brand, portfolio, or business online. In this post, we'll walk through the process of setting up a static website using Hugo as the static site generator and Netlify as the hosting service. Building The Site First, let's talk about what a static website is and why it's a good choice for many people. A static website is a website that is built using only HTML, CSS, and JavaScript files. These files are served to the user's web browser as-is, without the need for any server-side processing. This makes static websites fast, secure, and easy to maintain. |