Skip to content

Commit 2f53960

Browse files
committed
added sample pages and content
1 parent 072c722 commit 2f53960

11 files changed

+122
-150
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.DS_Store
2+
node_modules
3+
public
4+
build

.markdownlint.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# MD013/line-length - Line length
2+
MD013:
3+
# Number of characters
4+
line_length: 159
5+
# Number of characters for headings
6+
heading_line_length: 80
7+
# Number of characters for code blocks
8+
code_block_line_length: 80
9+
# Include code blocks
10+
code_blocks: true
11+
# Include tables
12+
tables: true
13+
# Include headings
14+
headings: true
15+
# Include headings
16+
headers: true
17+
# Strict length checking
18+
strict: false
19+
# Stern length checking
20+
stern: false
21+
# MD024/no-duplicate-heading/no-duplicate-header - Multiple headings with the same content
22+
MD024:
23+
# Only check sibling headings
24+
allow_different_nesting: false
25+
# Only check sibling headings
26+
siblings_only: true
27+
MD025:
28+
# Heading level
29+
level: 1
30+
# RegExp for matching title in front matter
31+
front_matter_title: ""
32+
33+
MD033:
34+
# Allow img html to size images
35+
allowed_elements:
36+
- img
37+
- div
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
title: About
3+
description: Hugo, the world's fastest framework for building websites
4+
date: '2019-02-28'
5+
aliases:
6+
- about-us
7+
- about-hugo
8+
- contact
9+
license: CC BY-NC-ND
10+
lastmod: '2020-10-09'
11+
menu:
12+
main:
13+
weight: -90
14+
pre: user
15+
---
16+
17+
Written in Go, Hugo is an open source static site generator available under the [Apache Licence
18+
2.0.](https://github.com/gohugoio/hugo/blob/master/LICENSE) Hugo supports TOML, YAML and JSON data file types, Markdown
19+
and HTML content files and uses shortcodes to add rich content. Other notable features are taxonomies, multilingual
20+
mode, image processing, custom output formats, HTML/CSS/JS minification and support for Sass SCSS workflows.
21+
22+
Hugo makes use of a variety of open source projects including:
23+
24+
* <https://github.com/yuin/goldmark>
25+
* <https://github.com/alecthomas/chroma>
26+
* <https://github.com/muesli/smartcrop>
27+
* <https://github.com/spf13/cobra>
28+
* <https://github.com/spf13/viper>
29+
30+
Hugo is ideal for blogs, corporate websites, creative portfolios, online magazines, single page applications or even a
31+
website with thousands of pages.
32+
33+
Hugo is for people who want to hand code their own website without worrying about setting up complicated runtimes,
34+
dependencies and databases.
35+
36+
Websites built with Hugo are extremelly fast, secure and can be deployed anywhere including, AWS, GitHub Pages, Heroku, Netlify and any other hosting provider.
37+
38+
Learn more and contribute on [GitHub](https://github.com/gohugoio).
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: "Archives"
3+
date: 2019-05-28
4+
layout: "archives"
5+
slug: "archives"
6+
menu:
7+
main:
8+
weight: -70
9+
pre: archives
10+
---
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: "Search"
3+
slug: "search"
4+
layout: "search"
5+
outputs:
6+
- html
7+
- json
8+
menu:
9+
main:
10+
weight: -60
11+
pre: search
12+
---

static_hugo_site/content/post/markdown-syntax/index.md

Lines changed: 0 additions & 150 deletions
This file was deleted.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
+++
2+
author = "Hugo Authors"
3+
title = "Markdown Syntax Guide"
4+
date = "2019-03-11"
5+
description = "Sample article showcasing basic Markdown syntax and formatting for HTML elements."
6+
tags = [
7+
"markdown",
8+
"css",
9+
"html",
10+
"themes",
11+
]
12+
categories = [
13+
"themes",
14+
"syntax",
15+
]
16+
series = ["Themes Guide"]
17+
aliases = ["migrate-from-jekyl"]
18+
image = "pawel-czerwinski-8uZPynIu-rQ-unsplash.jpg"
19+
+++
20+
21+
This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.

0 commit comments

Comments
 (0)