Update example site to work with new theme changes

This commit is contained in:
Joe Hutchinson
2019-07-24 10:32:28 -04:00
parent 4a13ce6337
commit 97b1dd2830
13 changed files with 26 additions and 9 deletions

View File

@@ -3,11 +3,13 @@ title: "Aether Features"
date: 2018-12-19T10:35:35-05:00
description: "Hugo combined with the Aether theme turns easy to write markdown into powerful web pages. KaTeX, Highlight.js, and Hugo provides the ability to create mathmatical symobols, equations, highlighted code, tables, lists, and much more."
categories: ["Features"]
featuredImage: "img/mdd-iphone.jpg"
dropCap: true
displayInMenu: false
displayInList: true
draft: false
resources:
- name: featuredImage
src: "mdd-iphone.jpg"
---
Hugo combined with the Aether theme turns easy to write markdown into powerful web pages. KaTeX, Highlight.js, and Hugo provides the ability to create mathmatical symobols, equations, highlighted code, tables, lists, and much more.
@@ -109,18 +111,18 @@ Here is `var s = "Hello World"` inline code
## Images
```md
![NYC Skyline](/img/nyc.jpg)
![NYC Skyline](/post/aether-features/mdd-iphone.jpg)
```
![NYC Skyline](/img/nyc.jpg)
![NYC Skyline](/post/aether-features/mdd-iphone.jpg)
## Small Images
```md
{{</* smallimg src="/img/nyc.jpg" alt="NYC Skyline" smartfloat="left" width="250px" */>}}
{{</* smallimg src="featuredImage" alt="NYC Skyline" smartfloat="left" width="250px" */>}}
```
{{<smallimg src="/img/nyc.jpg" alt="NYC Skyline" smartfloat="left" width="250px">}}
{{<smallimg src="featuredImage" alt="aether theme displayed on an iPhone" smartfloat="left" width="250px">}}
This image floats to the left of this paragraph and is 250px wide. Its aspect ratio is maintained so it will not stretch. The picture shows the New York skyline. You can see how the design is responsive and how the cards intelligently fit to the display. With flexbox and css grid, heavy frameworks such as bootstrap aren't necessary to create beautiful responsive designs. The cards in aether use flexbox to change the image from the right side on desktops to the top on mobile.

View File

Before

Width:  |  Height:  |  Size: 778 KiB

After

Width:  |  Height:  |  Size: 778 KiB

View File

@@ -3,11 +3,15 @@ title: "Aether: A Clean Theme for Hugo"
date: 2018-05-02T14:33:42-04:00
description: " Aether is new theme for Hugo that emphasizes motion, material, and depth as design elements. Distracting styling and page elements are forgone to focus on the content."
categories: ["Web"]
featuredImage: "img/mdd-macbook.jpg"
dropCap: true
displayInMenu: false
displayInList: true
draft: false
resources:
- name: featuredImage
src: "mdd-macbook.jpg"
params:
description: "A MacBook showing a website using the aether theme"
---
Today's web is a frustrating mess of pop-ups, intrusive banners, and ads obstructing the content. I designed aether to be free of all these distractions and simply highlight the content. The result feels more like a native application than a website. Interactions are intuitive, content is the focus, and distractions are omitted.

View File

Before

Width:  |  Height:  |  Size: 551 KiB

After

Width:  |  Height:  |  Size: 551 KiB

View File

@@ -2,11 +2,13 @@
author: "Michael Henderson"
date: 2014-09-28
title: Creating a New Theme
featuredImage: "img/nyc.jpg"
dropCap: true
displayInMenu: false
displayInList: true
draft: false
resources:
- name: featuredImage
src: "nyc.jpg"
---

View File

Before

Width:  |  Height:  |  Size: 261 KiB

After

Width:  |  Height:  |  Size: 261 KiB

View File

@@ -1,6 +1,5 @@
+++
title = "(Hu)go Template Primer"
featuredImage = "img/lucas-benjamin-565254-unsplash.jpg"
displayInMenu = false
displayInList = true
draft = false
@@ -16,6 +15,11 @@ categories = [
"Development",
"golang",
]
[[resources]]
name = "featuredImage"
src = "lucas-benjamin-565254-unsplash.jpg"
[resources.params]
description = "Alt description for the featured image"
+++
Hugo uses the excellent [Go][] [html/template][gohtmltemplate] library for

View File

Before

Width:  |  Height:  |  Size: 132 KiB

After

Width:  |  Height:  |  Size: 132 KiB

View File

Before

Width:  |  Height:  |  Size: 95 KiB

After

Width:  |  Height:  |  Size: 95 KiB

View File

@@ -15,6 +15,9 @@ categories = [
"Development",
"golang",
]
[[resources]]
name = "featuredImage"
src = "andrew-neel-609846-unsplash.jpg"
+++
## Step 1. Install Hugo

View File

@@ -1,10 +1,12 @@
---
date: 2014-03-10
featuredImage: "img/yan-ots-257617-unsplash.jpg"
displayInMenu: false
displayInList: true
draft: false
title: Migrate to Hugo from Jekyll
resources:
- name: featuredImage
src: "yan-ots-257617-unsplash.jpg"
---
## Move static content to `static`

View File

Before

Width:  |  Height:  |  Size: 126 KiB

After

Width:  |  Height:  |  Size: 126 KiB