diff --git a/content/en/templates/files.md b/content/en/templates/files.md
index 2170f9a7e..943428f07 100644
--- a/content/en/templates/files.md
+++ b/content/en/templates/files.md
@@ -48,7 +48,6 @@ If you are going to create [custom shortcodes](/templates/shortcode-templates/)
{{% /warning %}}
[called directly in the Hugo docs]: https://github.com/gohugoio/hugoDocs/blob/master/content/en/templates/files.md
-[dirindex]: https://github.com/gohugoio/hugo/blob/master/docs/layouts/shortcodes/directoryindex.html
[osfileinfo]: https://golang.org/pkg/os/#FileInfo
[readDir]: /functions/readdir/
[readFile]: /functions/readfile/
diff --git a/layouts/shortcodes/content-tree.html b/layouts/shortcodes/content-tree.html
deleted file mode 100644
index 0cb527cb5..000000000
--- a/layouts/shortcodes/content-tree.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
- ├── blog
- │ ├── _index.md [section]
- │ ├── first-post.md [page]
- │ └── second-post
- │ ├── index.md [page bundle]
- │ └── photo.jpg [page resource]
- └── tags
- ├── _index.md [taxonomy]
- └── funny
- └── _index.md [term]
-
-
\ No newline at end of file
diff --git a/layouts/shortcodes/directoryindex.html b/layouts/shortcodes/directoryindex.html
deleted file mode 100644
index 37e7d3ad1..000000000
--- a/layouts/shortcodes/directoryindex.html
+++ /dev/null
@@ -1,13 +0,0 @@
-{{- $pathURL := .Get "pathURL" -}}
-{{- $path := .Get "path" -}}
-{{- $files := readDir $path -}}
-
- | Size in bytes |
- Name |
-{{- range $files }}
-
- | {{ .Size }} |
- {{ .Name }} |
-
-{{- end }}
-
diff --git a/layouts/shortcodes/docfile.html b/layouts/shortcodes/docfile.html
deleted file mode 100644
index 2f982aae8..000000000
--- a/layouts/shortcodes/docfile.html
+++ /dev/null
@@ -1,11 +0,0 @@
-{{ $file := .Get 0}}
-{{ $filepath := $file }}
-{{ $syntax := index (split $file ".") 1 }}
-{{ $syntaxoverride := eq (len .Params) 2 }}
-
-
-
-
{{- readFile $file -}}
-
diff --git a/layouts/shortcodes/exfile.html b/layouts/shortcodes/exfile.html
deleted file mode 100644
index 226782957..000000000
--- a/layouts/shortcodes/exfile.html
+++ /dev/null
@@ -1,12 +0,0 @@
-{{ $file := .Get 0}}
-{{ $filepath := replace $file "static/" ""}}
-{{ $syntax := index (split $file ".") 1 }}
-{{ $syntaxoverride := eq (len .Params) 2 }}
-
-
-
-
{{- readFile $file -}}
-
Source
-
diff --git a/layouts/shortcodes/exfm.html b/layouts/shortcodes/exfm.html
deleted file mode 100644
index c0429bbe1..000000000
--- a/layouts/shortcodes/exfm.html
+++ /dev/null
@@ -1,13 +0,0 @@
-
-{{ $file := .Get 0}}
-{{ $filepath := replace $file "static/" ""}}
-{{ $syntax := index (split $file ".") 1 }}
-{{ $syntaxoverride := eq (len .Params) 2 }}
-
-
-
-
{{- readFile $file -}}
-
Source
-
\ No newline at end of file
diff --git a/layouts/shortcodes/gh.html b/layouts/shortcodes/gh.html
deleted file mode 100644
index 981f4b838..000000000
--- a/layouts/shortcodes/gh.html
+++ /dev/null
@@ -1,9 +0,0 @@
-{{ range .Params }}
- {{ if eq (substr . 0 1) "@" }}
- {{ . }}
- {{ else if eq (substr . 0 2) "0x" }}
- {{ substr . 2 6 }}
- {{ else }}
- #{{ . }}
- {{ end }}
-{{ end }}
diff --git a/layouts/shortcodes/ghrepo.html b/layouts/shortcodes/ghrepo.html
deleted file mode 100644
index e9df40d6a..000000000
--- a/layouts/shortcodes/ghrepo.html
+++ /dev/null
@@ -1 +0,0 @@
-GitHub repository
\ No newline at end of file
diff --git a/layouts/shortcodes/nohighlight.html b/layouts/shortcodes/nohighlight.html
deleted file mode 100644
index 238234f17..000000000
--- a/layouts/shortcodes/nohighlight.html
+++ /dev/null
@@ -1 +0,0 @@
-{{ .Inner }}
\ No newline at end of file
diff --git a/layouts/shortcodes/note.html b/layouts/shortcodes/note.html
deleted file mode 100644
index 24d2cd0b2..000000000
--- a/layouts/shortcodes/note.html
+++ /dev/null
@@ -1,9 +0,0 @@
-{{ $_hugo_config := `{ "version": 1 }` }}
-
diff --git a/layouts/shortcodes/tip.html b/layouts/shortcodes/tip.html
deleted file mode 100644
index 139e3376b..000000000
--- a/layouts/shortcodes/tip.html
+++ /dev/null
@@ -1,9 +0,0 @@
-{{ $_hugo_config := `{ "version": 1 }` }}
-
diff --git a/layouts/shortcodes/warning.html b/layouts/shortcodes/warning.html
deleted file mode 100644
index c9147be64..000000000
--- a/layouts/shortcodes/warning.html
+++ /dev/null
@@ -1,9 +0,0 @@
-{{ $_hugo_config := `{ "version": 1 }` }}
-
diff --git a/layouts/shortcodes/yt.html b/layouts/shortcodes/yt.html
deleted file mode 100644
index 6915cec5f..000000000
--- a/layouts/shortcodes/yt.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
- {{if (.Get "thumbnail")}}
-
- {{else}}
-
- {{end}}
-
-{{ if (.Get "description") }}
-{{ .Get "description" | markdownify }}
-{{ end }}
\ No newline at end of file