Remove the examples/ folder - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit 76c1248f70300e7c10f24d8c5a4eb095eddc6da5
DIR parent 9e76507da289e0ef0b24e820ef0ce139900e2250
HTML Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date: Sat, 5 Mar 2022 15:47:59 +0100
Remove the examples/ folder
These are not maintained and do not belong in this repository.
Diffstat:
D examples/blog/.gitignore | 12 ------------
D examples/blog/README.md | 42 -------------------------------
D examples/blog/config.toml | 4 ----
D examples/blog/content/post/another… | 57 -------------------------------
D examples/blog/content/post/hello-h… | 61 -------------------------------
D examples/blog/layouts/_default/sin… | 21 ---------------------
D examples/blog/layouts/categories/l… | 26 --------------------------
D examples/blog/layouts/index.html | 19 -------------------
D examples/blog/layouts/partials/foo… | 9 ---------
D examples/blog/layouts/partials/foo… | 5 -----
D examples/blog/layouts/partials/hea… | 14 --------------
D examples/blog/layouts/partials/hea… | 4 ----
D examples/blog/layouts/partials/men… | 15 ---------------
D examples/blog/layouts/partials/met… | 5 -----
D examples/blog/layouts/partials/nav… | 22 ----------------------
D examples/blog/layouts/post/li.html | 5 -----
D examples/blog/layouts/post/list.ht… | 24 ------------------------
D examples/blog/layouts/post/single.… | 35 -------------------------------
D examples/blog/layouts/post/summary… | 10 ----------
D examples/blog/layouts/tags/list.ht… | 24 ------------------------
D examples/blog/static/css/bootstrap… | 12 ------------
D examples/blog/static/css/custom.css | 8 --------
D examples/blog/static/css/font-awes… | 2086 -------------------------------
D examples/blog/static/fonts/FontAwe… | 0
D examples/blog/static/fonts/fontawe… | 0
D examples/blog/static/fonts/fontawe… | 656 -------------------------------
D examples/blog/static/fonts/fontawe… | 0
D examples/blog/static/fonts/fontawe… | 0
D examples/blog/static/fonts/fontawe… | 0
D examples/blog/static/fonts/glyphic… | 0
D examples/blog/static/fonts/glyphic… | 289 -------------------------------
D examples/blog/static/fonts/glyphic… | 0
D examples/blog/static/fonts/glyphic… | 0
D examples/blog/static/fonts/glyphic… | 0
D examples/blog/static/js/bootstrap.… | 2363 -------------------------------
D examples/blog/static/js/jquery-1.1… | 5 -----
D examples/multilingual/.gitignore | 1 -
D examples/multilingual/README.md | 15 ---------------
D examples/multilingual/config.toml | 38 -------------------------------
D examples/multilingual/content/abou… | 11 -----------
D examples/multilingual/content/abou… | 11 -----------
D examples/multilingual/content/home… | 9 ---------
D examples/multilingual/content/home… | 9 ---------
D examples/multilingual/content/news… | 5 -----
D examples/multilingual/content/news… | 5 -----
D examples/multilingual/content/news… | 13 -------------
D examples/multilingual/content/news… | 13 -------------
D examples/multilingual/content/news… | 13 -------------
D examples/multilingual/content/news… | 13 -------------
D examples/multilingual/i18n/en.toml | 2 --
D examples/multilingual/i18n/et.toml | 2 --
D examples/multilingual/layouts/_def… | 13 -------------
D examples/multilingual/layouts/_def… | 4 ----
D examples/multilingual/layouts/inde… | 1 -
D examples/multilingual/layouts/news… | 17 -----------------
D examples/multilingual/layouts/part… | 3 ---
D examples/multilingual/layouts/part… | 11 -----------
D examples/multilingual/layouts/part… | 17 -----------------
D examples/multilingual/static/main.… | 90 -------------------------------
59 files changed, 0 insertions(+), 6149 deletions(-)
---
DIR diff --git a/examples/blog/.gitignore b/examples/blog/.gitignore
@@ -1,12 +0,0 @@
-# Hugo default output directory
-/public
-
-## OS Files
-# Windows
-Thumbs.db
-ehthumbs.db
-Desktop.ini
-$RECYCLE.BIN/
-
-# OSX
-.DS_Store
DIR diff --git a/examples/blog/README.md b/examples/blog/README.md
@@ -1,42 +0,0 @@
-Hugo Example Blog
-=================
-
-This repository provides a fully-working example of a [Hugo](https://github.com/gohugoio/hugo)-powered blog. Many
-Hugo-specific features are used as a way to see them in action, and hopefully ease the learning curve for creating your
-very own site with Hugo.
-
-Features
---------
-
-- Recent Posts at main index
-- Indexes for `tags` and `categories`
-- Post information block, with links for all `tags` and `categories` post belongs to
-- [Bootstrap 3](https://getbootstrap.com/) ready
- - Currently using the [Yeti](https://bootswatch.com/yeti/) theme from https://bootswatch.com/
-
-Common things that should be added in the near future *(pull requests are welcome!)*:
-
-- Disqus integration
-- More content types to demonstrate different layout methods
- - About Me
- - Contact
-
-Getting Started
----------------
-
-To get started, you should simply fork or clone this repository! That's definitely an important first step.
-
-[Install Hugo](https://gohugo.io/getting-started/installing) in a way that best suits your environment and comfort level.
-
-Edit `config.toml` and change the default properties to suit your own information. This is not required to run the
-example, but this is the global configuration file and you're going to need to use it eventually. Start here!
-
-In a command prompt or terminal, navigate to the path that contains your `config.toml` file and run `hugo`. That's it!
-You should now have a `public` directory with a complete blog! Open `public/index.html` in your browser and bask.
-
-If that wasn't amazing enough, from the same terminal, run `hugo server`. This will watch your directories for changes
-and rebuild the site immediately, *and* it will make these changes available at http://localhost:1313/ so you can view
-your finished site in your browser. Go on, try it. This is one of the best ways to preview your site while working on it.
-
-To further learn Hugo and learn more, read through the Hugo [documentation](https://gohugo.io/getting-started/)
-or browse around the files in this repository. Have fun!
DIR diff --git a/examples/blog/config.toml b/examples/blog/config.toml
@@ -1,4 +0,0 @@
-baseURL = "http://blog.hugoexample.com/"
-languageCode = "en-us"
-title = "Hugo Example Blog"
-canonifyURLs = true
DIR diff --git a/examples/blog/content/post/another-post.md b/examples/blog/content/post/another-post.md
@@ -1,57 +0,0 @@
-+++
-title = "Another Hugo Post"
-description = "Nothing special, but one post is boring."
-date = "2014-09-02"
-categories = [ "example", "configuration" ]
-tags = [
- "example",
- "hugo",
- "toml"
-]
-+++
-
-TOML, YAML, JSON --- Oh my!
--------------------------
-
-One of the nifty Hugo features we should cover: flexible configuration and front matter formats! This entry has front
-matter in `toml`, unlike the last one which used `yaml`, and `json` is also available if that's your preference.
-
-<!--more-->
-
-The `toml` front matter used on this entry:
-
-```
-+++
-title = "Another Hugo Post"
-description = "Nothing special, but one post is boring."
-date = "2014-09-02"
-categories = [ "example", "configuration" ]
-tags = [
- "example",
- "hugo",
- "toml"
-]
-+++
-```
-
-This flexibility also extends to your site's global configuration file. You're free to use any format you prefer::simply
-name the file `config.yaml`, `config.toml` or `config.json`, and go on your merry way.
-
-JSON Example
-------------
-
-How would this entry's front matter look in `json`? That's easy enough to demonstrate:
-
-```
-{
- "title": "Another Hugo Post",
- "description": "Nothing special, but one post is boring.",
- "date": "2014-09-02",
- "categories": [ "example", "configuration" ],
- "tags": [
- "example",
- "hugo",
- "toml"
- ],
-}
-```
DIR diff --git a/examples/blog/content/post/hello-hugo.md b/examples/blog/content/post/hello-hugo.md
@@ -1,61 +0,0 @@
----
-title: "Hello Hugo!"
-description: "Saying 'Hello' from Hugo"
-date: "2014-09-01"
-categories:
- - "example"
- - "hello"
-tags:
- - "example"
- - "hugo"
- - "blog"
----
-
-Hello from Hugo! If you're reading this in your browser, good job! The file `content/post/hello-hugo.md` has been
-converted into a complete HTML document by Hugo. Isn't that pretty nifty?
-
-A Section
----------
-
-Here's a simple titled section where you can place whatever information you want.
-
-You can use inline HTML if you want, but really there's not much that Markdown can't do.
-
-Showing off with Markdown
--------------------------
-
-A full cheat sheet can be found [here](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet)
-or through [Google](https://google.com/).
-
-There are some *easy* examples for styling, though. I can't **emphasize** that enough.
-Creating [links](https://google.com/) or `inline code` blocks are very straightforward.
-
-```
-There are some *easy* examples for styling, though. I can't **emphasize** that enough.
-Creating [links](https://google.com/) or `inline code` blocks are very straightforward.
-```
-
-Front Matter for Fun
---------------------
-
-This is the meta data for this post. It is located at the top of the `content/post/hello-hugo.md` markdown file.
-
-```
----
-title: "Hello Hugo!"
-description: "Saying 'Hello' from Hugo"
-date: "2014-09-01"
-categories:
- - "example"
- - "hello"
-tags:
- - "example"
- - "hugo"
- - "blog"
----
-```
-
-This section, called 'Front Matter', is what tells Hugo about the content in this file: the `title` of the item, the
-`description`, and the `date` it was posted. In our example, we've added two custom bits of data too. The `categories` and
-`tags` sections are used in this example for indexing/grouping content. You will learn more about what that means by
-examining the code in this example and through reading the Hugo [documentation](http://gohugo.io/overview/introduction).
DIR diff --git a/examples/blog/layouts/_default/single.html b/examples/blog/layouts/_default/single.html
@@ -1,21 +0,0 @@
-{{ partial "header.html" . }}
-<body>
-{{ partial "navbar.html" . }}
-<div class="container">
- <div class="row">
- <div class="col-md-9">
- <div class="well well-sm">
- <h3>{{ .Title }}<br> <small>{{ .Description }}</small></h3>
- <hr>
- {{ .Content }}
- </div>
- </div>
-
- <!-- Sidebar -->
- <div class="col-md-3">
- {{ partial "menu.html" . }}
- </div>
- </div>
-{{ partial "footer.copyright.html" . }}
-</div>
-{{ partial "footer.html" . }}
DIR diff --git a/examples/blog/layouts/categories/list.html b/examples/blog/layouts/categories/list.html
@@ -1,25 +0,0 @@
-{{ partial "header.html" . }}
-
-<body>
- {{ partial "navbar.html" . }}
- <div class="container">
- <div class="row">
- <div class="col-md-9">
- <div class="well well-sm">
- <strong>Items in category <code>{{ .Title | lower }}</code></strong>
- <ul class="list-unstyled">
- {{ range .Data.Pages }}
- {{ .Render "li" }}
- {{ end}}
- </ul>
- </div>
- </div>
-
- <!-- Sidebar -->
- <div class="col-md-3">
- {{ partial "menu.html" . }}
- </div>
- </div>
- {{ partial "footer.copyright.html" . }}
- </div>
- {{ partial "footer.html" . }}
-\ No newline at end of file
DIR diff --git a/examples/blog/layouts/index.html b/examples/blog/layouts/index.html
@@ -1,19 +0,0 @@
-{{ partial "header.html" . }}
-<body>
-{{ partial "navbar.html" . }}
-<div class="container">
- <div class="row">
- <div class="col-md-9">
- {{ range first 10 .Data.Pages }}
- {{ .Render "summary" }}
- {{ end }}
- </div>
-
- <!-- Sidebar -->
- <div class="col-md-3">
- {{ partial "menu.html" . }}
- </div>
- </div>
-{{ partial "footer.copyright.html" . }}
-</div>
-{{ partial "footer.html" . }}
DIR diff --git a/examples/blog/layouts/partials/footer.copyright.html b/examples/blog/layouts/partials/footer.copyright.html
@@ -1,9 +0,0 @@
- <footer>
- <div class="row">
- <hr>
- <div class="col-sm-12">
- <p>© Enthusiastic Hugo User {{ now.Format "2006" }} ·
- Built with <a href="https://github.com/gohugoio/hugo">Hugo</a></p>
- </div>
- </div>
- </footer>
DIR diff --git a/examples/blog/layouts/partials/footer.html b/examples/blog/layouts/partials/footer.html
@@ -1,5 +0,0 @@
-
- <script src="/js/jquery-1.11.3.min.js"></script>
- <script src="/js/bootstrap.js"></script>
-</body>
-</html>
DIR diff --git a/examples/blog/layouts/partials/header.html b/examples/blog/layouts/partials/header.html
@@ -1,13 +0,0 @@
-<!doctype html>
-<html lang="en">
-
-<head>
- {{ partial "meta.html" . }}
-
- <title>{{ .Title }} - {{ .Site.BaseURL }}</title>
- <link rel="canonical" href="{{ .Permalink }}">
- {{ partial "header.includes.html" . }}
- {{ with .OutputFormats.Get "RSS" -}}
- {{ printf "<link href=%q rel=\"alternate\" type=%q title=%q />" .Permalink .MediaType $.Site.Title | safeHTML }}
- {{- end }}
-</head>
-\ No newline at end of file
DIR diff --git a/examples/blog/layouts/partials/header.includes.html b/examples/blog/layouts/partials/header.includes.html
@@ -1,4 +0,0 @@
-
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/font-awesome.css" rel="stylesheet">
- <link href="/css/custom.css" rel="stylesheet">
DIR diff --git a/examples/blog/layouts/partials/menu.html b/examples/blog/layouts/partials/menu.html
@@ -1,15 +0,0 @@
- <div class="panel panel-default">
- <div class="panel-heading" style="padding: 2px 15px;">
- <h4>Connect. Socialize.</h4>
- </div>
- <div class="panel-body">
- <a href="https://github.com/SomeSillyUserNameHere/" class="btn btn-primary btn-xs"><i class="fa fa-github-square fa-2x"></i></a>
- <a href="https://www.facebook.com/SomeSillyUserNameHere" class="btn btn-info btn-xs"><i class="fa fa-facebook-square fa-2x"></i></a>
-
- <div class="alert alert-info alert-dismissable" style="margin-top:25px;margin-bottom:5px;">
- <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
- <strong>Hey, listen!</strong><br>
- You should modify the <code>layouts/partials/menu.html</code> template and include your own profile links.
- </div>
- </div>
- </div>
DIR diff --git a/examples/blog/layouts/partials/meta.html b/examples/blog/layouts/partials/meta.html
@@ -1,5 +0,0 @@
-
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="{{ .Description }}">
- <meta name="author" content="A Hugo User"> <!-- This should be modified to be your name, if you want to include this information -->
DIR diff --git a/examples/blog/layouts/partials/navbar.html b/examples/blog/layouts/partials/navbar.html
@@ -1,22 +0,0 @@
- <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
- <div class="container">
- <div class="navbar-header">
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
- <span class="sr-only">Toggle Navigation</span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <a class="navbar-brand" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
- </div>
- <div class="collapse navbar-collapse navbar-ex1-collapse">
- <ul class="nav navbar-nav">
- <li><a href="/post/">Post Index</a></li>
- <!--
- And here is where you'd add more links to sections, or anywhere you like.
- <li><a href="#">About Me</a></li>
- -->
- </ul>
- </div>
- </div>
- </nav>
DIR diff --git a/examples/blog/layouts/post/li.html b/examples/blog/layouts/post/li.html
@@ -1,4 +0,0 @@
- <li>
- <h5><a href="{{ .Permalink }}">{{ .Title}}</a><br>
- <small>posted on {{ .Date.Format "January 2, 2006" }}</small></h5>
- </li>
-\ No newline at end of file
DIR diff --git a/examples/blog/layouts/post/list.html b/examples/blog/layouts/post/list.html
@@ -1,24 +0,0 @@
-{{ partial "header.html" . }}
-<body>
-{{ partial "navbar.html" . }}
-<div class="container">
- <div class="row">
- <div class="col-md-9">
- <div class="well well-sm">
- <strong>Blog Post Archive</strong>
- <ul class="list-unstyled">
- {{ range .Data.Pages }}
- {{ .Render "li" }}
- {{ end}}
- </ul>
- </div>
- </div>
-
- <!-- Sidebar -->
- <div class="col-md-3">
- {{ partial "menu.html" . }}
- </div>
- </div>
-{{ partial "footer.copyright.html" . }}
-</div>
-{{ partial "footer.html" . }}
DIR diff --git a/examples/blog/layouts/post/single.html b/examples/blog/layouts/post/single.html
@@ -1,35 +0,0 @@
-{{ partial "header.html" . }}
-<body>
-{{ partial "navbar.html" . }}
-<div class="container">
- <div class="row">
- <div class="col-md-9">
- <div class="well well-sm">
- <h3>{{ .Title }}<br> <small>{{ .Description }}</small></h3>
- <hr>
- {{ .Content }}
- </div>
- </div>
-
- <!-- Sidebar -->
- <div class="col-md-3">
- <div class="well well-sm"> <!-- Post-specific stats -->
- <h4>{{ .Date.Format "January 2, 2006" }}<br>
- <small>{{ .WordCount }} words</small></h4>
- <hr>
- <strong>Categories</strong>
- <ul class="list-unstyled">
- {{ range .Params.categories }}
- <li><a href="/categories/{{ . | urlize }}">{{ . }}</a></li>
- {{ end }}
- </ul>
- <hr>
- <strong>Tags</strong><br>
- {{ range .Params.tags }}<a class="label label-default" href="/tags/{{ . | urlize }}">{{ . }}</a> {{ end }}
- </div>
- {{ partial "menu.html" . }}
- </div>
- </div>
-{{ partial "footer.copyright.html" . }}
-</div>
-{{ partial "footer.html" . }}
DIR diff --git a/examples/blog/layouts/post/summary.html b/examples/blog/layouts/post/summary.html
@@ -1,9 +0,0 @@
-<div class="well well-sm">
- <h4>
- <a href="{{ .Permalink }}">{{ .Title }}</a> <small class="pull-right">Posted on {{ .Date.Format "Jan 2, 2006" }}</small><br>
- <small>{{ .Description }}</small>
- </h4>
- <hr>
- <p>{{ .Summary }}</p>
- <a class="btn btn-primary btn-xs" href="{{ .Permalink }}">Read More <span class="fa fa-angle-double-right"></span></a>
-</div>
-\ No newline at end of file
DIR diff --git a/examples/blog/layouts/tags/list.html b/examples/blog/layouts/tags/list.html
@@ -1,24 +0,0 @@
-{{ partial "header.html" . }}
-<body>
-{{ partial "navbar.html" . }}
-<div class="container">
- <div class="row">
- <div class="col-md-9">
- <div class="well well-sm">
- <strong>Items with tag <code>{{ .Title | lower }}</code></strong>
- <ul class="list-unstyled">
- {{ range .Data.Pages }}
- {{ .Render "li" }}
- {{ end}}
- </ul>
- </div>
- </div>
-
- <!-- Sidebar -->
- <div class="col-md-3">
- {{ partial "menu.html" . }}
- </div>
- </div>
-{{ partial "footer.copyright.html" . }}
-</div>
-{{ partial "footer.html" . }}
DIR diff --git a/examples/blog/static/css/bootstrap.min.css b/examples/blog/static/css/bootstrap.min.css
@@ -1,11 +0,0 @@
-@import url("https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,700italic,400,300,700");/*!
- * bootswatch v3.3.6
- * Homepage: http://bootswatch.com
- * Copyright 2012-2015 Thomas Park
- * Licensed under MIT
- * Based on Bootstrap
-*//*!
- * Bootstrap v3.3.6 (http://getbootstrap.com)
- * Copyright 2011-2015 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
drkhsh.at:70 /scm/hugo/commit/76c1248f70300e7c10f24d8c5a4eb095eddc6da5.gph:548: line too long