Update example site

This commit is contained in:
Joe Hutchinson
2018-12-20 14:07:57 -05:00
parent c9c5680127
commit 14e1e6231e
4 changed files with 69 additions and 17 deletions

View File

@@ -3,6 +3,7 @@ title = "About Hugo"
date = "2014-04-09"
displayInMenu = true
displayInList = false
dropCap = false
+++
Hugo is the **worlds fastest framework for building websites**. It is written in Go.

View File

@@ -4,6 +4,7 @@ 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

View File

@@ -1,40 +1,89 @@
---
title: "Aether: A Clean Theme for Hugo Websites"
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, depth, and material as design elements. Distracting styling and page elements are forgone to focus on the content."
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-Dev"]
featuredImage: "/img/mdd-macbook.jpg"
dropCap: true
displayInMenu: false
displayInList: true
draft: false
---
Today's web is a frustrating mess of pop-ups, intrusive banners, and ads obstructing the content. I designed Aether to be the style of website I want to visit on the web. The result is a theme that makes sites feels more like a native application than a website. Interactions are intuitive, content is the focus, and distractions are omitted. Aether is a Hugo theme for blogs that elevates good writing and photography. If you use Hugo for your blog, give Aether a try.
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.
Aether is a Hugo theme for blogs that elevates good writing and photography. If you use Hugo for your blog, give aether a try.
## Installation
In your Hugo project's theme directory, clone the Aether repo.
In the root directory of your Hugo Project, clone the aether repo into the themes directory.
```bash
git clone https://github.com/josephhutch/aether.git
```shell session
git clone https://github.com/josephhutch/aether.git themes/aether
```
Add the following parameters in your config file if they are not present already.
## Usage
### Website Configuration
Add the following parameters to your config file if they are not present already.
```toml
baseURL = "https://yourwebsitenamegoeshere.com/"
languageCode = "Your language code"
title = "Your Website Title"
baseURL = "https://yourwebsitenamegoeshere.com"
languageCode = "your language code"
title = "your website title"
theme = "aether"
[params]
brand = "The title you would like to show in the nav bar"
description = "Your website's description."
homeimg = "url to the image used for the home button"
bgimg = "url to the image used for the background"
brand = "the title displayed in the nav bar - optional"
description = "your website's description"
homeimg = "url to the image used for the home button - optional"
bgimg = "url to the image used for the background - optional"
```
You're all set! Once your begin writing posts, they will display using the Aether theme.
The `title` parameter is used for each page title, the title that seach engines display in search results. If you would like the title shown in the top left of the page to be different from the page title, use the `brand` parameter. For instance, the title parameter for my site is `Joe Hutchinson` but the brand parameter is set to `joehutch`.
![Aether theme displayed on an iphone](/img/mdd-iphone.jpg "Aether on iPhone")
The `homeimg` and `bgimg` parameters give you the ability to customize the look of your site further. The homeimg parameter is the image used for the home button at the bottom of every page. Since the text used on the home button is white, a darker background image is preferred. If the homeimg parameter is not specified, a fallback image is used. Similarly, the bgimg parameter is used for the background of each webpage. Aether is designed to look best with a subtle tiling image for the background. If no background image is specified, the background will be a solid gray color.
To learn more about Aether visit [Aether's Github page](https://github.com/josephhutch/aether). To learn more about Hugo visit [Hugo's website](https://gohugo.io/).
That is the only configuration required at the site level! You can now begin writing content for your site.
### Creating content
Make a new blog post by executing `hugo new post/postnamehere.md` in your shell. At the top of the new markdown file, is what's called the front matter. The front matter is the page's metadata that determines how Hugo and aether generate the HTML for your post. Below you can find what the front matter should contain for a new post and what each of the parameters mean.
```properties
---
title: "The title of your post"
date: date the post was generated
description: "Description of the post (displayed in the post's card)"
categories: ["add comma separated categories here", "another category"]
featuredImage: "url to the page's featured image"
dropCap: if the first letter should be a large decorative capital letter (true, false)
displayInMenu: if post is listed in the navigation menu (true, false)
displayInList: if post is listed on the home page and category pages (true, false)
draft: if the page is a draft (true, false)
---
```
The `displayInMenu` and `displayInList` parameters are used to determine where your content is displayed. Posts typically have displayInMenu set to false so that the post is not a menu option, and displayInList set to true so it shows up on the homepage's list of posts and in category page lists. An About Me page, on the other hand, would have displayInMenu set to true and displayInList set to false. That will allow the About Me page to be accessible from the menu but not displayed in the homepage's list of posts.
The `categories` parameter is used to group similar posts in category pages. Category pages are accessible from the menu and list all posts with the same category.
The `dropCap` parameter is used to determine if the first letter of a post should be a dropped capital. A dropped capital letter is the large decorative letter at the beginning of a book or section.
Add an interesting description and a good image to each post to get the most value from this theme.
Posts are written in markdown and LaTeX (for math symbols and equations). You can find tons of information on how to format your posts with markdown and LaTeX on the web.
### Further Customization
To change the heading and subtext at the top of list pages just add a \_index.md file in the folder that the list page is generated from. For example to change the heading at the top of the homepage, add an \_index.md file to the content folder with the following parameters.
```properties
---
title: "This is the main heading text in big letters"
date: the date
description: "This is the subtext above the main heading in small letters"
---
```
### Learn More
To learn more about aether, visit [aether's Github page](https://github.com/josephhutch/aether). To learn more about Hugo, visit [Hugo's website](https://gohugo.io/).

View File

@@ -3,6 +3,7 @@ author: "Michael Henderson"
date: 2014-09-28
title: Creating a New Theme
featuredImage: "/img/nyc.jpg"
dropCap: true
displayInMenu: false
displayInList: true
draft: false