164 lines
3.9 KiB
HTML
164 lines
3.9 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
|
||
|
||
|
||
<title>This is my home page | </title>
|
||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
<meta charset="utf-8">
|
||
<!-- Meta -->
|
||
<link rel="canonical" href="/">
|
||
<meta name="description" content="">
|
||
<meta name="robots" content="index,follow">
|
||
<meta property="og:title" content="This is my home page | ">
|
||
<meta property="og:type" content="article">
|
||
<meta property="og:url" content="/">
|
||
<meta property="og:description" content="">
|
||
|
||
|
||
|
||
<meta name="generator" content="Eleventy v3.1.5">
|
||
|
||
<!-- CSS -->
|
||
|
||
<style>:root {
|
||
color-scheme: light dark;
|
||
}
|
||
|
||
/* numbered components are from https://www.joshwcomeau.com/css/custom-css-reset/ */
|
||
/* 1. Use a more-intuitive box-sizing model */
|
||
*, *::before, *::after {
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
/* 2. Remove default margin */
|
||
*:not(dialog) {
|
||
margin: 0;
|
||
}
|
||
|
||
/* 3. Enable keyword animations */
|
||
@media (prefers-reduced-motion: no-preference) {
|
||
html {
|
||
interpolate-size: allow-keywords;
|
||
}
|
||
}
|
||
|
||
body {
|
||
/* 4. Increase line-height */
|
||
line-height: 1.5;
|
||
/* 5. Improve text rendering */
|
||
-webkit-font-smoothing: antialiased;
|
||
}
|
||
|
||
/* 6. Improve media defaults */
|
||
img, picture, video, canvas, svg {
|
||
display: block;
|
||
max-width: 100%;
|
||
height: auto;
|
||
}
|
||
|
||
/* 7. Inherit fonts for form controls */
|
||
input, button, textarea, select {
|
||
font: inherit;
|
||
}
|
||
|
||
/* 8. Avoid text overflows */
|
||
p, h1, h2, h3, h4, h5, h6 {
|
||
overflow-wrap: break-word;
|
||
}
|
||
|
||
/* 9. Improve line wrapping */
|
||
p {
|
||
text-wrap: pretty;
|
||
}
|
||
h1, h2, h3, h4, h5, h6 {
|
||
text-wrap: balance;
|
||
}
|
||
|
||
/*
|
||
10. Create a root stacking context
|
||
*/
|
||
#root, #__next {
|
||
isolation: isolate;
|
||
}</style>
|
||
|
||
|
||
</head>
|
||
|
||
<body>
|
||
<div id="content">
|
||
<header>
|
||
<nav>
|
||
</nav>
|
||
</header>
|
||
|
||
|
||
<main id="main">
|
||
|
||
<h1>This is my home page</h1>
|
||
|
||
|
||
<img src="/img/TPPh3kvfzS-4898.jpeg" alt="chickadee" loading="lazy" decoding="async" width="4898" height="3265">
|
||
|
||
|
||
|
||
<h2>Here’s an h2</h2>
|
||
<p>This is a paragraph.</p>
|
||
<p>This is another paragraph. It might be a bit longer.</p>
|
||
<ul>
|
||
<li>
|
||
<p>Here’s a list.</p>
|
||
</li>
|
||
<li>
|
||
<p>It’s nice, the editor automatically turns dashes into lists</p>
|
||
</li>
|
||
</ul>
|
||
<p>And I can double-enter to get out of the list.</p>
|
||
<h3>Here’s an h3</h3>
|
||
<p>Similarly, the editor understands markdown notation for headings. That’s really handy. I also like that I can prevent editors from creating h1s (or h5/h6, who needs those).</p>
|
||
<h4>Let’s do some formatting</h4>
|
||
<p><em>Italics.</em> <strong>Bold!</strong> <em><strong>Bold and italic.</strong></em> There’s even <s>strikethrough</s>.</p>
|
||
<p>Inline <code>code blocks</code> work as well, though they don’t pick up on markdown formatting.</p>
|
||
<blockquote>
|
||
<p>Blockquotes work like this.</p>
|
||
</blockquote>
|
||
<p>Let’s add a link. Here’s my <a href="https://leecat.art">website</a>. They let you choose internal vs. external. Annoyingly, in the rich text editor links are only distinguishable via color, so that’s a bit of an accessibility fail.</p>
|
||
<h2>Let’s do more with lists</h2>
|
||
<ol>
|
||
<li>
|
||
<p>Here’s an ordered list</p>
|
||
<ol>
|
||
<li>
|
||
<p>it has a nested ordered list inside of it!</p>
|
||
</li>
|
||
<li>
|
||
<p>How fancy.</p>
|
||
</li>
|
||
</ol>
|
||
</li>
|
||
<li>
|
||
<p>You can of course tab and shift+tab to change your list level.</p>
|
||
</li>
|
||
</ol>
|
||
<hr>
|
||
<p>We’ve got some lovely horizontal rules as well.</p>
|
||
<h2>Markdown attrs plugin</h2>
|
||
<p>Now, let’s see if our markdown attributes feature works. Here’s my <a href="https://leecat.art" rel="”external”">website again</a>. I suspect the smart quotes will cause issues! So that may not work.</p>
|
||
<h2>Images</h2>
|
||
<p><img src="/img/TPPh3kvfzS-4898.jpeg" alt="" loading="lazy" decoding="async" width="4898" height="3265"></p>
|
||
<p>We’ve added an image above. I tried to add alt text, but I’m not sure that Eleventy will pick up on that.</p>
|
||
<p>Ok, let’s push this and see what we get.</p>
|
||
|
||
|
||
|
||
</main>
|
||
</div>
|
||
|
||
<footer>
|
||
</footer>
|
||
|
||
<!-- This page `/` was built on 2026-05-13T23:07:34.557Z -->
|
||
</body>
|
||
</html>
|