Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/NormandErwan/Blogpaper.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErwan Normand <normand.erwan@protonmail.com>2020-01-05 01:23:07 +0300
committerErwan Normand <normand.erwan@protonmail.com>2020-01-05 01:23:07 +0300
commit2e07a50f03f42413b8563a3406e4d948cd9d1e2c (patch)
tree28a2fe7baba8f2370dc2568f28c731accadf2dbc /exampleSite
parent6e22aaafc4d657c386966b1351548e59a5e6eb67 (diff)
:sparkles: Add a complete style guide post
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/content/posts/style-guide/1061-750x422.jpgbin0 -> 43250 bytes
-rw-r--r--exampleSite/content/posts/style-guide/banner.jpgbin0 -> 366606 bytes
-rw-r--r--exampleSite/content/posts/style-guide/index.md147
3 files changed, 147 insertions, 0 deletions
diff --git a/exampleSite/content/posts/style-guide/1061-750x422.jpg b/exampleSite/content/posts/style-guide/1061-750x422.jpg
new file mode 100644
index 0000000..17b9db2
--- /dev/null
+++ b/exampleSite/content/posts/style-guide/1061-750x422.jpg
Binary files differ
diff --git a/exampleSite/content/posts/style-guide/banner.jpg b/exampleSite/content/posts/style-guide/banner.jpg
new file mode 100644
index 0000000..4bc61c4
--- /dev/null
+++ b/exampleSite/content/posts/style-guide/banner.jpg
Binary files differ
diff --git a/exampleSite/content/posts/style-guide/index.md b/exampleSite/content/posts/style-guide/index.md
new file mode 100644
index 0000000..f7f87d1
--- /dev/null
+++ b/exampleSite/content/posts/style-guide/index.md
@@ -0,0 +1,147 @@
+---
+author: Erwan Normand
+title: Style Guide
+date: 2020-01-04
+tags:
+ - markdown
+ - css
+ - html
+ - showcase
+ - text
+ - shortcodes
+categories:
+ - themes
+ - syntax
+series:
+ - Themes Guide
+banner:
+ caption: Alexey Topolyanskiy
+ href: https://unsplash.com/photos/-oWyJoSqBRM
+---
+
+The Style Guide provides you with a set of standards for the writing and design of theme posts and pages, either for
+general use or for a specific publication, organization, or field.
+
+## Images
+
+This theme supports regular image with or without caption, wide images with or without caption and full-width images
+with or without the caption. The examples provided below.
+
+{{< figure src="1061-750x422.jpg" caption="A regular image with caption (by [Rob Bye](https://unsplash.com/photos/Kc7xqFTtcc4))" >}}
+
+{{< figure src="banner.jpg" caption="A full-width image with caption (by [Alexey Topolyanskiy](https://unsplash.com/photos/-oWyJoSqBRM))" class="full-width" >}}
+
+## This is an H2
+
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam rhoncus enim ut tortor feugiat pulvinar. Nam ac mauris
+gravida, porttitor augue ut, ultrices quam. Sed at mollis arcu, ac egestas tellus.
+
+### This is an H3
+
+Mauris a tortor et felis rutrum dignissim. Morbi vel est odio. Suspendisse et ipsum in elit laoreet eleifend vel ac
+sapien. Etiam dolor elit, dictum eleifend velit a, pulvinar imperdiet ex.
+
+#### This is an H4
+
+Phasellus sollicitudin, metus nec interdum pellentesque, nunc est ultricies nisl, eu egestas ipsum magna eu purus.
+Fusce interdum ultricies ante eu ullamcorper.
+
+## Quoting
+
+> “Creativity is allowing yourself to make mistakes. Design is knowing which ones to keep.”
+> — <cite>Scott Adams</cite>
+
+## Code Blocks
+
+Code blocks, highlighted with Hugo's internal highlight shortcode. Read more how to use it on
+[Syntax Highlighting page on Hugo docs](https://gohugo.io/content-management/syntax-highlighting/).
+
+{{< highlight html >}}
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <title>Example HTML5 Document</title>
+</head>
+<body>
+ <p>Test</p>
+</body>
+</html>
+{{< /highlight >}}
+
+{{< highlight js >}}
+// Simple map
+var map;
+function initMap() {
+ map = new google.maps.Map(document.getElementById('map'), {
+ center: {lat: -34.397, lng: 150.644},
+ zoom: 8
+ });
+}
+{{< /highlight >}}
+
+{{< highlight css >}}
+@import url(http://fonts.googleapis.com/css?family=Arvo);
+
+/* Styles */
+
+body {
+ font: 100%/1.5 Questrial, sans-serif;
+ tab-size: 4;
+ hyphens: auto;
+}
+{{< /highlight >}}
+
+## Lists
+
+### Ordered List
+
+1. First item
+2. Second item
+3. Third item
+
+### Unordered List
+
+- List item
+- Another item
+- And another item
+
+### Nested list
+
+- Item
+ 1. First Sub-item
+ 2. Second Sub-item
+
+1. Second list
+ - First Sub-item
+ - Second Sub-item
+
+## Footnotes
+
+The quick brown fox[^1] jumped over the lazy dog[^2].
+
+[^1]: Foxes are red
+
+[^2]: Dogs are usually not red
+
+Footnotes are a great way to add additional contextual details when appropriate. Hugo will automatically add footnote
+content to the very end of your post.
+
+## Tables
+
+| Inline | Markdown | In | Table |
+|:-----------------:|:----------------:|:-------------------------:|:--------------:|
+| *italics content* | **bold content** | ~~strikethrough content~~ | `code content` |
+
+## Videos
+
+{{< vimeo_simple 137643135 >}}
+
+[This Mountain](https://vimeo.com/137643135) from [Evan Mann / OWP Denver](https://vimeo.com/evanmann) on
+[Vimeo](https://vimeo.com).
+
+{{< youtube ZJthWmvUzzc >}}
+
+[For the Love of Type](https://www.youtube.com/watch?v=ZJthWmvUzzc) from
+[ChingPaul](https://www.youtube.com/channel/UCSMMVkOa__BoWirO8tgxIYw) on
+[YouTube](https://www.youtube.com). \ No newline at end of file