Commit 1c2a1ffe authored by Blaine Murphy's avatar Blaine Murphy

Added homepage content

parent 7bd2123e
Pipeline #134753258 passed with stage
in 52 seconds
......@@ -5,7 +5,7 @@
include.filename: filename of the image in the page's asset dir
include.alt: img alt attribute
include.pixelated: set to true to disable antialiasing
include.nolink: set to true to disable hyperlink
include.no_link: set to true to disable hyperlink
{%- endcomment -%}
......@@ -14,12 +14,12 @@
{%- endcapture -%}
<div class="image">
{%- unless include.nolink -%}
{%- unless include.no_link -%}
<a href="{{ _image_url }}">
{%- endunless -%}
<img class="image-image {% if include.pixelated %}image-image-pixelated{% endif %}"
src="{{ _image_url }}" alt="{{ include.alt | escape }}" />
{%- unless include.nolink -%}
{%- unless include.no_link -%}
</a>
{%- endunless -%}
</div>
......@@ -10,6 +10,7 @@ layout: base
page.title: page title
page.date: page date
page.next_path: path to document to show as next link
page.no_header: set to true to disable document header
{%- endcomment -%}
......@@ -40,17 +41,19 @@ layout: base
{%- endif -%}
<article class="document">
{%- unless page.no_header -%}
<header class="document-header">
<h1 class="document-title">{{ page.title | escape }}</h1>
{%- if page.flair %}
{%- if page.flair %}
<div class="document-flair">
{%- include flair.html name=page.flair -%}
{%- include flair.html name=page.flair -%}
</div>
{%- endif -%}
{%- if page.date -%}
{%- endif -%}
{%- if page.date -%}
<div class="document-date">Published {% include date.html date=page.date %}</div>
{%- endif -%}
{%- endif -%}
</header>
{%- endunless -%}
<div class="document-content">
{{- content -}}
</div>
......
......@@ -9,8 +9,11 @@
color: $meta-color;
text-align: center;
&-banner { margin-bottom: $medium-gap; }
&-banner-image { max-width: 100%; }
&-banner { margin-bottom: $narrow-gap; }
&-banner-image {
max-width: 100%;
margin-bottom: $narrow-gap;
}
&-links { text-align: center; }
&-linkset { display: inline-block; }
......
---
layout: document
title: Under Construction
title: Welcome
flair: in-progress
no_header: true
---
This site is always under construction, but I have yet to finish the homepage.
Check out the other content while I think of what to put here :)
{% include image.html filename="construction.gif"
alt="Under construction" nolink=true pixelated=true %}
{% include image.html filename="welcome.gif"
alt="Welcome" no_link=true pixelated=true %}
{% include image.html filename="welcome-led.gif"
alt="Welcome to my homepage" no_link=true pixelated=true %}
Hello, my name is Blaine and this is my homepage. I am a hacker/maker/whatever
you call the person digging through the neighbors trash at 3am looking for
freshly broken electronics to salvage. I spend most of my time playing with
computers and fixing things I've previously broken.
{% include image.html filename="trash.gif"
alt="I'm trash" no_link=true pixelated=true %}
This site is where I publish projects I'm working on and write weblogs about
life. Check out the [Posts page]({% link posts/index.md %}) for updates about
this site and my life, the [Projects page]({% link projects/index.md %}) for
original creations, and the [Scraps page]({% link scraps/index.md %}) for
short hacks and mods. This site is perpetually under construction so be sure
to check back often to see new content :)
{% include image.html filename="construction-seg.gif"
alt="Under construction" no_link=true pixelated=true %}
{% include image.html filename="construction-flip.gif"
alt="Under construction" no_link=true pixelated=true %}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment