mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 19:56:41 +02:00
Update example site
This commit is contained in:
@@ -5,8 +5,6 @@ title = "About"
|
|||||||
|
|
||||||
_With this theme, it is possible to add small sections that only contains one page like this. It will automatically appears in the header, at the end._
|
_With this theme, it is possible to add small sections that only contains one page like this. It will automatically appears in the header, at the end._
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
Along with [Ford Prefect](https://en.wikipedia.org/wiki/Ford_Prefect_\(character\)), Dent barely escapes the Earth's destruction as it is demolished to make way for a *hyperspace bypass*. Arthur spends the next several years, still wearing his dressing gown, helplessly launched from crisis to crisis while trying to straighten out his lifestyle.
|
Along with [Ford Prefect](https://en.wikipedia.org/wiki/Ford_Prefect_\(character\)), Dent barely escapes the Earth's destruction as it is demolished to make way for a *hyperspace bypass*. Arthur spends the next several years, still wearing his dressing gown, helplessly launched from crisis to crisis while trying to straighten out his lifestyle.
|
||||||
|
|
||||||
> He rather enjoys tea, but seems to have trouble obtaining it in the far reaches of the galaxy.
|
> He rather enjoys tea, but seems to have trouble obtaining it in the far reaches of the galaxy.
|
||||||
|
@@ -1,14 +1,7 @@
|
|||||||
---
|
---
|
||||||
author: "Michael Henderson"
|
author: "Michael Henderson"
|
||||||
date: 2014-09-28
|
date: 2014-09-28
|
||||||
linktitle: Creating a New Theme
|
|
||||||
menu:
|
|
||||||
main:
|
|
||||||
parent: tutorials
|
|
||||||
next: /tutorials/github-pages-blog
|
|
||||||
prev: /tutorials/automated-deployments
|
|
||||||
title: Creating a New Theme
|
title: Creating a New Theme
|
||||||
weight: 10
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
33
exampleSite/content/blog/example-of-an-article.md
Normal file
33
exampleSite/content/blog/example-of-an-article.md
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
---
|
||||||
|
author: "Alexis Tacnet"
|
||||||
|
date: 2015-09-28
|
||||||
|
title: Example article
|
||||||
|
---
|
||||||
|
|
||||||
|
## Text
|
||||||
|
|
||||||
|
**This is some text.** Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut pretium at ipsum eu pharetra. Proin ac ante et leo ultrices bibendum. Vivamus id ipsum fermentum, aliquam nunc mollis, tempus sapien. Praesent scelerisque cursus eros vitae pretium. Etiam sit amet ligula in leo euismod malesuada. Proin eleifend pulvinar ipsum, eu lobortis ante pharetra eu. Vivamus sem elit, venenatis eget ornare nec, ullamcorper non tellus. Duis quis massa finibus, euismod erat quis, fermentum nunc. Maecenas euismod felis sit amet convallis placerat.
|
||||||
|
|
||||||
|
## Images
|
||||||
|
|
||||||
|
**This theme includes a tranparent way to defer images. This can be enabled/disabled in the `config.toml`.**
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
**You will just have to do two images : the normal, and a low resolution one.**
|
||||||
|
|
||||||
|
## Code
|
||||||
|
|
||||||
|
**This is some code, this theme includes language highlight, optionnal as well.**
|
||||||
|
|
||||||
|
```
|
||||||
|
.dark {
|
||||||
|
color: #333333 !important;
|
||||||
|
}
|
||||||
|
.light {
|
||||||
|
color: #666666 !important;
|
||||||
|
}
|
||||||
|
.accent {
|
||||||
|
color: #428bca !important;
|
||||||
|
}
|
||||||
|
```
|
@@ -13,7 +13,6 @@ categories = [
|
|||||||
"Development",
|
"Development",
|
||||||
"golang",
|
"golang",
|
||||||
]
|
]
|
||||||
menu = "main"
|
|
||||||
+++
|
+++
|
||||||
|
|
||||||
Hugo uses the excellent [go][] [html/template][gohtmltemplate] library for
|
Hugo uses the excellent [go][] [html/template][gohtmltemplate] library for
|
||||||
|
@@ -12,7 +12,6 @@ categories = [
|
|||||||
"Development",
|
"Development",
|
||||||
"golang",
|
"golang",
|
||||||
]
|
]
|
||||||
menu = "main"
|
|
||||||
+++
|
+++
|
||||||
|
|
||||||
## Step 1. Install Hugo
|
## Step 1. Install Hugo
|
||||||
|
@@ -2,4 +2,6 @@
|
|||||||
title = "Home"
|
title = "Home"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
_This is the home page. It will display the blog section if there is one, and a text before._
|
||||||
|
|
||||||
Hey ! Welcome to the **Cocoa Enhanced theme**. Here are some articles :
|
Hey ! Welcome to the **Cocoa Enhanced theme**. Here are some articles :
|
@@ -10,5 +10,3 @@ Along with [Ford Prefect](https://en.wikipedia.org/wiki/Ford_Prefect_\(character
|
|||||||
> He rather enjoys tea, but seems to have trouble obtaining it in the far reaches of the galaxy.
|
> He rather enjoys tea, but seems to have trouble obtaining it in the far reaches of the galaxy.
|
||||||
|
|
||||||
In time, he learns how to fly and carves a niche for himself as a sandwich-maker.
|
In time, he learns how to fly and carves a niche for himself as a sandwich-maker.
|
||||||
|
|
||||||
<img src="//placehold.it/300x300" class="profile">
|
|
Reference in New Issue
Block a user