Image pass thru, avatar, homepage content
This commit is contained in:
parent
ee1507cfb4
commit
908f6a766a
4 changed files with 8 additions and 3 deletions
|
@ -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),
|
||||
|
|
|
@ -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
BIN
img/site/avatar.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 517 KiB |
7
index.md
7
index.md
|
@ -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_
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue