1
1
Fork 0

Image pass thru, avatar, homepage content

This commit is contained in:
Ava Gaiety Wroten 2021-02-02 22:56:38 -06:00
parent ee1507cfb4
commit 908f6a766a
4 changed files with 8 additions and 3 deletions

View file

@ -20,6 +20,8 @@ module.exports = function(eleventyConfig) {
md.use(markdownItClass, markdownClassMapping);
eleventyConfig.setLibrary('md', md);
eleventyConfig.addPassthroughCopy('img');
eleventyConfig.addCollection(
"pinned",
collection => collection.getAllSorted().filter(item => item.data.pinned),

View file

@ -39,7 +39,7 @@
</div>
<div class="flex-1 flex items-center justify-center sm:items-stretch sm:justify-start">
<div class="flex-shrink-0 flex items-center">
<img class="h-12 w-12 rounded-full w-auto" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
<img class="h-12 w-12 rounded-full w-auto" src="/img/site/avatar.png" alt="">
</div>
<div class="hidden sm:ml-6 sm:flex sm:space-x-8">
{%- for navItem in navigation -%}

BIN
img/site/avatar.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 517 KiB

View file

@ -1,7 +1,10 @@
---
layout: pinned.njk
title: Welcome
title: Ava Gaiety Wroten
eleventyExcludeFromCollections: true
---
Homepage content goes here!
Canine pretending to be a web engineer
_She/Her_