Skip to content

Commit

Permalink
ToC on each post
Browse files Browse the repository at this point in the history
Updated posts
  • Loading branch information
e-minguez committed Oct 2, 2019
1 parent ce6f7c7 commit 128be61
Show file tree
Hide file tree
Showing 23 changed files with 293 additions and 19 deletions.
2 changes: 1 addition & 1 deletion content/_index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Secrets"
title: "Home"
date: 2017-10-17T15:26:15Z
lastmod: 2018-12-08T15:26:15Z
publishdate: 2018-11-23T15:26:15Z
Expand Down
16 changes: 16 additions & 0 deletions content/api/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: "API"
date: 2019-06-18T16:42:20+02:00
lastmod: 2019-06-18T16:42:20+02:00
publishdate: 2019-06-18T16:42:20+02:00
draft: false
weight: 10
---

## [Installation](./installation)

Download Hugo theme, configure, preview site ...

## [Configuration](./configuration)

You may specify options in config.toml (or config.yaml/config.json) of your site to make use of this theme's features.
16 changes: 16 additions & 0 deletions content/certificates/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: "Certificates"
date: 2019-06-18T16:42:20+02:00
lastmod: 2019-06-18T16:42:20+02:00
publishdate: 2019-06-18T16:42:20+02:00
draft: false
weight: 11
---

## [Installation](./installation)

Download Hugo theme, configure, preview site ...

## [Configuration](./configuration)

You may specify options in config.toml (or config.yaml/config.json) of your site to make use of this theme's features.
16 changes: 16 additions & 0 deletions content/cleanup/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: "Clean up"
date: 2019-06-18T16:42:20+02:00
lastmod: 2019-06-18T16:42:20+02:00
publishdate: 2019-06-18T16:42:20+02:00
draft: false
weight: 12
---

## [Installation](./installation)

Download Hugo theme, configure, preview site ...

## [Configuration](./configuration)

You may specify options in config.toml (or config.yaml/config.json) of your site to make use of this theme's features.
16 changes: 16 additions & 0 deletions content/cluster/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: "Cluster"
date: 2019-06-18T16:42:20+02:00
lastmod: 2019-06-18T16:42:20+02:00
publishdate: 2019-06-18T16:42:20+02:00
draft: false
weight: 13
---

## [Installation](./installation)

Download Hugo theme, configure, preview site ...

## [Configuration](./configuration)

You may specify options in config.toml (or config.yaml/config.json) of your site to make use of this theme's features.
16 changes: 16 additions & 0 deletions content/clusterversion/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: "Cluster version"
date: 2019-06-18T16:42:20+02:00
lastmod: 2019-06-18T16:42:20+02:00
publishdate: 2019-06-18T16:42:20+02:00
draft: false
weight: 14
---

## [Installation](./installation)

Download Hugo theme, configure, preview site ...

## [Configuration](./configuration)

You may specify options in config.toml (or config.yaml/config.json) of your site to make use of this theme's features.
16 changes: 16 additions & 0 deletions content/configuration/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: "Configuration"
date: 2019-06-18T16:42:20+02:00
lastmod: 2019-06-18T16:42:20+02:00
publishdate: 2019-06-18T16:42:20+02:00
draft: false
weight: 15
---

## [Installation](./installation)

Download Hugo theme, configure, preview site ...

## [Configuration](./configuration)

You may specify options in config.toml (or config.yaml/config.json) of your site to make use of this theme's features.
16 changes: 16 additions & 0 deletions content/deployments/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: "Deployments"
date: 2019-06-18T16:42:20+02:00
lastmod: 2019-06-18T16:42:20+02:00
publishdate: 2019-06-18T16:42:20+02:00
draft: false
weight: 16
---

## [Installation](./installation)

Download Hugo theme, configure, preview site ...

## [Configuration](./configuration)

You may specify options in config.toml (or config.yaml/config.json) of your site to make use of this theme's features.
16 changes: 16 additions & 0 deletions content/images/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: "Images"
date: 2019-06-18T16:42:20+02:00
lastmod: 2019-06-18T16:42:20+02:00
publishdate: 2019-06-18T16:42:20+02:00
draft: false
weight: 17
---

## [Installation](./installation)

Download Hugo theme, configure, preview site ...

## [Configuration](./configuration)

You may specify options in config.toml (or config.yaml/config.json) of your site to make use of this theme's features.
8 changes: 4 additions & 4 deletions content/machine-config/_index.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
title: "Machine config"
date: 2017-10-17T15:26:15Z
lastmod: 2018-12-08T15:26:15Z
publishdate: 2018-11-23T15:26:15Z
date: 2019-06-18T16:42:20+02:00
lastmod: 2019-06-18T16:42:20+02:00
publishdate: 2019-06-18T16:42:20+02:00
draft: false
weight: 3
weight: 18
---

## [Installation](./installation)
Expand Down
16 changes: 16 additions & 0 deletions content/networking/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: "Networking"
date: 2019-06-18T16:42:20+02:00
lastmod: 2019-06-18T16:42:20+02:00
publishdate: 2019-06-18T16:42:20+02:00
draft: false
weight: 19
---

## [Installation](./installation)

Download Hugo theme, configure, preview site ...

## [Configuration](./configuration)

You may specify options in config.toml (or config.yaml/config.json) of your site to make use of this theme's features.
16 changes: 16 additions & 0 deletions content/oc/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: "oc"
date: 2019-06-18T16:42:20+02:00
lastmod: 2019-06-18T16:42:20+02:00
publishdate: 2019-06-18T16:42:20+02:00
draft: false
weight: 20
---

## [Installation](./installation)

Download Hugo theme, configure, preview site ...

## [Configuration](./configuration)

You may specify options in config.toml (or config.yaml/config.json) of your site to make use of this theme's features.
6 changes: 0 additions & 6 deletions content/posts/my-first-post.md

This file was deleted.

16 changes: 16 additions & 0 deletions content/pullsecrets/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: "Pull Secrets"
date: 2019-06-18T16:42:20+02:00
lastmod: 2019-06-18T16:42:20+02:00
publishdate: 2019-06-18T16:42:20+02:00
draft: false
weight: 21
---

## [Installation](./installation)

Download Hugo theme, configure, preview site ...

## [Configuration](./configuration)

You may specify options in config.toml (or config.yaml/config.json) of your site to make use of this theme's features.
8 changes: 4 additions & 4 deletions content/registries/_index.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
title: "Registries"
date: 2017-10-17T15:26:15Z
lastmod: 2018-12-08T15:26:15Z
publishdate: 2018-11-23T15:26:15Z
date: 2019-06-18T16:42:20+02:00
lastmod: 2019-06-18T16:42:20+02:00
publishdate: 2019-06-18T16:42:20+02:00
draft: false
weight: 2
weight: 22
---

## [Installation](./installation)
Expand Down
18 changes: 18 additions & 0 deletions content/routers/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: "Routers"
date: 2019-06-18T16:42:20+02:00
lastmod: 2019-06-18T16:42:20+02:00
publishdate: 2019-06-18T16:42:20+02:00
draft: false
weight: 23
---

# Scale routers

```
oc patch \
--namespace=openshift-ingress-operator \
--patch='{"spec": {"replicas": 1}}' \
--type=merge \
ingresscontroller/default
```
8 changes: 4 additions & 4 deletions content/secrets/_index.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
title: "Secrets"
date: 2017-10-17T15:26:15Z
lastmod: 2018-12-08T15:26:15Z
publishdate: 2018-11-23T15:26:15Z
date: 2019-06-18T16:42:20+02:00
lastmod: 2019-06-18T16:42:20+02:00
publishdate: 2019-06-18T16:42:20+02:00
draft: false
weight: 1
weight: 24
---

## [Installation](./installation)
Expand Down
16 changes: 16 additions & 0 deletions content/storage/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: "Storage"
date: 2019-06-18T16:42:20+02:00
lastmod: 2019-06-18T16:42:20+02:00
publishdate: 2019-06-18T16:42:20+02:00
draft: false
weight: 25
---

## [Installation](./installation)

Download Hugo theme, configure, preview site ...

## [Configuration](./configuration)

You may specify options in config.toml (or config.yaml/config.json) of your site to make use of this theme's features.
16 changes: 16 additions & 0 deletions content/troubleshooting/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: "Troubleshooting"
date: 2019-06-18T16:42:20+02:00
lastmod: 2019-06-18T16:42:20+02:00
publishdate: 2019-06-18T16:42:20+02:00
draft: false
weight: 26
---

## [Installation](./installation)

Download Hugo theme, configure, preview site ...

## [Configuration](./configuration)

You may specify options in config.toml (or config.yaml/config.json) of your site to make use of this theme's features.
16 changes: 16 additions & 0 deletions content/upgrades/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: "Upgrades"
date: 2019-06-18T16:42:20+02:00
lastmod: 2019-06-18T16:42:20+02:00
publishdate: 2019-06-18T16:42:20+02:00
draft: false
weight: 27
---

## [Installation](./installation)

Download Hugo theme, configure, preview site ...

## [Configuration](./configuration)

You may specify options in config.toml (or config.yaml/config.json) of your site to make use of this theme's features.
7 changes: 7 additions & 0 deletions layouts/_default/list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{{- define "main" -}}
<h1>{{ .Title }}</h1>
{{- .TableOfContents -}}
{{- .Content -}}
{{- partial "edit-meta.html" . -}}
{{- partial "pagination.html" . -}}
{{- end -}}
27 changes: 27 additions & 0 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
{{- if eq .Title "" }}
<title>{{ .Site.Title }}</title>
{{- else }}
<title>{{ .Title }} - {{ .Site.Title }}</title>
{{- end }}
{{- if ne .Description "" }}
<meta name="description" content="{{ .Description }}">
{{- else if isset .Site.Params "description" }}
<meta name="description" content="{{ .Site.Params.description }}">
{{- end }}
{{ .Hugo.Generator }}
<link href="{{ .Site.BaseURL }}index.xml" rel="alternate" type="application/rss+xml">
<link rel="canonical" href="{{ .Permalink }}">
<link rel="stylesheet" href="{{"css/theme.min.css" | absURL}}">
<link href="{{ .Site.BaseURL }}css/custom.css" rel="stylesheet">
<script src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>
{{ partial "meta/chroma.html" . -}}
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>
<script src="{{"js/functions.min.js" | absURL}}"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/jquery.easing.min.js"></script>
<script src="{{"js/jquery.backtothetop/jquery.backtothetop.min.js" | absURL}}"></script>
{{- partial "meta/google-analytics-async.html" . -}}
{{- partial "meta/tag-manager.html" . -}}
{{- partial "meta/google-site-verification.html" . -}}
4 changes: 4 additions & 0 deletions static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#TableOfContents a {
text-decoration: none;
color: #404040;
}

0 comments on commit 128be61

Please sign in to comment.