Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Fastbyte01 committed Feb 24, 2019
1 parent 0396b84 commit b5ac0e8
Show file tree
Hide file tree
Showing 11 changed files with 475 additions and 77 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2019 Giuseppe Pignataro.
Copyright (c) 2018 LIUZHICHAO.COM

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ To see this theme in action, Here is a live [demo site](https://www.fsb01.com)
* A More coerent style beetwen page and sections
* Multilanguage support.
* Added configuration file for use on [Netlify](https://www.netlify.com)
* Reading Time
* Dark/Light mode
* Word Count
* Dark/Light mode
* Wrap Image with Figure Tag without Shortcode. Thanks [Junian.Net](https://www.junian.net/hugo-image-figure-wrap/)
* Load images with Lazy Load By [lazysizes](https://github.com/aFarkas/lazysizes)
* Automatically highlighting code By [Google code-prettify](https://github.com/google/code-prettify), Customizable styles via CSS. See the [themes gallery](https://rawgit.com/google/code-prettify/master/styles/index.html).
Expand Down
6 changes: 2 additions & 4 deletions archetypes/default.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ date: {{ .Date }}
draft: true
description:
categories:
-
tags:
-
-
featured_image:
author: ""
---
---
5 changes: 5 additions & 0 deletions exampleSite/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ googleAnalytics = ""
url = "/categories/"
weight = 3

[[menu.main]]
name = "About"
url = "/about"
weight = 4

[params]
since = 2012
author = "Fastbyte01" # Author's name
Expand Down
6 changes: 4 additions & 2 deletions exampleSite/content/about.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
+++
title = "About Hugo"
title = "About"
date = "2014-04-09"
menu = "main"
aliases = ["about-us","about-hugo","contact"]
[ author ]
name = "Hugo Authors"
+++

Hugo is the **world’s fastest framework for building websites**. It is written in Go.
Expand Down
17 changes: 12 additions & 5 deletions exampleSite/content/posts/creating-a-new-theme.md
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
---
title: Creating a New Theme
author: "Michael Henderson"
tags: ["Theme", "Hugo"]
categories: ["Uncategorized"]
author:
name: "Michael Henderson"
date: 2014-09-28
linktitle: Creating a New Theme
type:
- post
- posts
title: Creating a New Theme
weight: 10
series:
- Hugo 101
---


## Introduction

This tutorial will show you how to create a simple theme in Hugo. I assume that you are familiar with HTML, the bash command line, and that you are comfortable using Markdown to format content. I'll explain how Hugo uses templates and how you can organize your templates to create a theme. I won't cover using CSS to style your theme.
Expand All @@ -22,7 +29,7 @@ $ echo this is a command
this is a command
## edit the file
$vi foo.md
$ vi foo.md
+++
date = "2014-09-28"
title = "creating a new theme"
Expand Down
Loading

0 comments on commit b5ac0e8

Please sign in to comment.