Skip to content

Commit

Permalink
describe how to write about.md and sections markdown files
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcvetta committed May 15, 2015
1 parent 837f0ff commit 344dcfc
Showing 1 changed file with 26 additions and 7 deletions.
33 changes: 26 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,38 @@
Hugo theme based on [landing-page theme ](https://github.com/swcool/landing-page-theme)

## How to use
- Place a image in `static/img/`
- Create posts to display your services. Use the follow as an example:

### About

Create a markdown file named `content/services/about/about.md'

```txt
---
layout: default
img: ipad.png
category: Services
title: The service title
description: The description of the service
Title: About Us
Draft: false
---
WidgetCo is the world leader in widget production.
```

### Services

Create a markdown file describing a service you offer in `content/services/` - e.g. `content/services/widgets.md`.

```txt
---
Title: Widget Making
Img: widgets.png
Category: Services
Draft: false
---
We make widgets!
```

Then place a matching image in `static/img/services/` - e.g. `static/img/services/widgets.png`


## Demo
View this equivalent jekyll theme in action [here](https://swcool.github.io/landing-page-theme)

Expand Down

0 comments on commit 344dcfc

Please sign in to comment.