diff --git a/layouts/404.html b/layouts/404.html deleted file mode 100644 index e69de29..0000000 diff --git a/layouts/_default/list.html b/layouts/_default/list.html deleted file mode 100644 index e05cb3b..0000000 --- a/layouts/_default/list.html +++ /dev/null @@ -1,20 +0,0 @@ -{{ partial "page_start.html" . }} -
- {{ partial "content.html" . }} - {{ if ne .Params.hide_pages "true" }} -
- {{ $parent := . }} - {{ $sorted_pages := sort .Site.Pages (default "Title" .Params.sort_by) (default "asc" .Params.sort_order)}} - {{ $valid_pages := where $sorted_pages ".Parent" "!=" nil }} - {{ $valid_pages := where $valid_pages ".Params.hide_in_list" "!=" "true" }} - {{ range where $valid_pages ".Parent.UniqueID" $parent.UniqueID }} - {{ if $parent.Params.show_images }} - {{ partial "box_image.html" . }} - {{ else }} - {{ partial "box.html" . }} - {{ end }} - {{ end }} -
- {{ end }} -
-{{ partial "page_end.html" . }} diff --git a/layouts/_default/search.html b/layouts/_default/search.html deleted file mode 100644 index 934a59b..0000000 --- a/layouts/_default/search.html +++ /dev/null @@ -1,17 +0,0 @@ -{{ partial "page_start.html" . }} -
- {{ partial "content.html" . }} -
- -
- -
- {{ $valid_pages := where .Site.Pages ".Parent" "!=" nil }} - {{ $valid_pages := where $valid_pages "Kind" "page" }} - {{ $valid_pages := where $valid_pages ".UniqueID" "!=" .UniqueID }} - {{ range (sort $valid_pages ".LinkTitle") }} - {{ partial "box_image.html" . }} - {{ end }} -
-
-{{ partial "page_end.html" . }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html deleted file mode 100644 index e410abd..0000000 --- a/layouts/_default/single.html +++ /dev/null @@ -1,5 +0,0 @@ -{{ partial "page_start.html" . }} -
- {{ partial "content.html" . }} -
-{{ partial "page_end.html" . }} diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html deleted file mode 100644 index 00bd66e..0000000 --- a/layouts/_default/taxonomy.html +++ /dev/null @@ -1,10 +0,0 @@ -{{ partial "page_start.html" . }} -
- {{ partial "content.html" . }} -
- {{ range .Pages.ByTitle }} - {{ partial "box_image.html" . }} - {{ end }} -
-
-{{ partial "page_end.html" . }} diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html deleted file mode 100644 index 00bd66e..0000000 --- a/layouts/_default/terms.html +++ /dev/null @@ -1,10 +0,0 @@ -{{ partial "page_start.html" . }} -
- {{ partial "content.html" . }} -
- {{ range .Pages.ByTitle }} - {{ partial "box_image.html" . }} - {{ end }} -
-
-{{ partial "page_end.html" . }} diff --git a/layouts/index.html b/layouts/index.html deleted file mode 100644 index 6a093bd..0000000 --- a/layouts/index.html +++ /dev/null @@ -1,94 +0,0 @@ -{{ partial "page_start.html" . }} - - -
-
-
-

{{ plainify .Content }}

-

I'm Jake. A software engineer with a passion for security and privacy. This is my website, a home for my projects, blog posts, and anything else for that matter.

-
-
- -
-
-
- {{ with .Site.GetPage "section" "posts" }} - - -

{{ .LinkTitle }}

-
-

- {{ partial "summary_string.html" . }} -

- {{ end }} -
-
- {{ with .Site.GetPage "section" "projects" }} - - -

{{ .LinkTitle }}

-
-

- {{ partial "summary_string.html" . }} -

- {{ end }} -
-
-
-
- {{ with .Site.GetPage "section" "setup" }} - - -

{{ .LinkTitle }}

-
-

- {{ partial "summary_string.html" . }} -

- {{ end }} -
-
- {{ with .Site.GetPage "section" "robotics" }} - - -

{{ .LinkTitle }}

-
-

- {{ partial "summary_string.html" . }} -

- {{ end }} -
-
-
- -
-
-

Projects

-
-
- {{ range first .Site.Params.index_items (where .Data.Pages.ByDate "Section" "projects") }} - {{ partial "box_image.html" . }} - {{ end }} -
- -
- -
- -
- {{ range first .Site.Params.index_items (where .Data.Pages.ByDate "Section" "posts") }} - {{ partial "box_image.html" . }} - {{ end }} -
-
-

All Posts

-
-
-
-{{ partial "page_end.html" . }} diff --git a/layouts/partials/box.html b/layouts/partials/box.html deleted file mode 100644 index cd408fb..0000000 --- a/layouts/partials/box.html +++ /dev/null @@ -1,8 +0,0 @@ -
-
- -

{{ title .LinkTitle }}

-
- {{ partial "summary_string.html" . }} -
-
diff --git a/layouts/partials/box_image.html b/layouts/partials/box_image.html deleted file mode 100644 index 6ba17d3..0000000 --- a/layouts/partials/box_image.html +++ /dev/null @@ -1,16 +0,0 @@ -
-
- {{ if .Params.image }} - - - - {{ end }} - {{ if .Params.date }} - {{ .Date.Format "2006-01-02" }} - {{ end }} - -

{{ title .LinkTitle }}

-
- {{ partial "summary_string.html" . }} -
-
diff --git a/layouts/partials/content.html b/layouts/partials/content.html deleted file mode 100644 index e7e8d93..0000000 --- a/layouts/partials/content.html +++ /dev/null @@ -1,18 +0,0 @@ -
-

{{ title .Title }}

- {{ partial "subtitle_string.html" . }} - - {{ if .Params.date }} - {{ .Date.Format "2006-01-02" }} - {{ end }} -
-{{ if .Content }} -
- {{ if .Params.image }} - - {{ end }} - {{ .Content }} -
-{{ end }} - -{{ partial "tags.html" . }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html deleted file mode 100644 index 814e28f..0000000 --- a/layouts/partials/footer.html +++ /dev/null @@ -1,21 +0,0 @@ - diff --git a/layouts/partials/head.html b/layouts/partials/head.html deleted file mode 100644 index cd40dd2..0000000 --- a/layouts/partials/head.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - {{ if .Parent }} - {{ if ne .Parent .Site.Home }} - {{ .Title }} | {{ .Parent.Title }} | {{ .Site.Title }} - {{ end }} - {{ .Title }} | {{ .Site.Title }} - {{ else }} - {{ .Title }} | {{ .Site.Title }} - {{ end }} - - {{ partial "metadata.html" . }} - diff --git a/layouts/partials/navbar/index.html b/layouts/partials/navbar/index.html deleted file mode 100644 index 741496b..0000000 --- a/layouts/partials/navbar/index.html +++ /dev/null @@ -1,15 +0,0 @@ - - diff --git a/layouts/partials/navbar/link-item.html b/layouts/partials/navbar/link-item.html deleted file mode 100644 index 10bb61b..0000000 --- a/layouts/partials/navbar/link-item.html +++ /dev/null @@ -1 +0,0 @@ -{{ .LinkTitle }} diff --git a/layouts/partials/navbar/pages.html b/layouts/partials/navbar/pages.html deleted file mode 100644 index a1cde6e..0000000 --- a/layouts/partials/navbar/pages.html +++ /dev/null @@ -1,7 +0,0 @@ -{{ range where .Site.Pages.ByTitle "Kind" "page" }} - {{ if eq .Section "" }} -
  • - {{ partial "navbar/link-item.html" . }} -
  • - {{ end }} -{{ end }} diff --git a/layouts/partials/navbar/sections.html b/layouts/partials/navbar/sections.html deleted file mode 100644 index e8b0087..0000000 --- a/layouts/partials/navbar/sections.html +++ /dev/null @@ -1,34 +0,0 @@ -{{ $valid_children := where (where .Site.Pages ".Parent" "!=" nil) ".Params.hide_in_nav" "!=" "true" }} - -{{ $home := .Site.GetPage "home" }} -{{ range where .Site.Pages.ByTitle "Kind" "section" }} - {{ if eq .Parent $home }} - {{ $sorted_pages := sort $valid_children (default "Title" .Params.sort_by) (default "asc" .Params.sort_order)}} - {{ $children := where $sorted_pages ".Parent.UniqueID" .UniqueID }} -
  • - {{ partial "navbar/link-item.html" . }} - {{ if $children }} - - {{ end }} -
  • - {{ end }} -{{ end }} diff --git a/layouts/partials/page_end.html b/layouts/partials/page_end.html deleted file mode 100644 index 1a1a61a..0000000 --- a/layouts/partials/page_end.html +++ /dev/null @@ -1,5 +0,0 @@ - {{ partial "footer.html" . }} - - {{ partial "scripts.html" . }} - - diff --git a/layouts/partials/page_start.html b/layouts/partials/page_start.html deleted file mode 100644 index 4acac65..0000000 --- a/layouts/partials/page_start.html +++ /dev/null @@ -1,11 +0,0 @@ - - -{{ partial "head.html" . }} - -{{ if .IsHome }} - -{{ else }} - -{{ end }} - {{ partial "navbar/index.html" . }} -
    diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html deleted file mode 100644 index 461a6f0..0000000 --- a/layouts/partials/scripts.html +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/layouts/partials/subtitle_string.html b/layouts/partials/subtitle_string.html deleted file mode 100644 index c48e122..0000000 --- a/layouts/partials/subtitle_string.html +++ /dev/null @@ -1,7 +0,0 @@ -{{ if .Params.subtitle }} -

    {{ .Params.subtitle | markdownify }}

    -{{ else if .Params.repo }} -

    {{ (getJSON "https://api.github.com/repos/" .Params.repo).description }}

    -{{ else if .Params.gist }} -

    {{ (getJSON "https://api.github.com/gists/" .Params.gist).description }}

    -{{ end }} diff --git a/layouts/partials/summary_string.html b/layouts/partials/summary_string.html deleted file mode 100644 index 8917f49..0000000 --- a/layouts/partials/summary_string.html +++ /dev/null @@ -1,13 +0,0 @@ -{{ if eq .Section "posts" }} - {{ .Summary | truncate .Site.Params.summary_length "..." }} -{{ else }} - {{ if .Params.subtitle }} - {{ .Params.subtitle | markdownify }} - {{ else if .Params.repo }} - {{ (getJSON "https://api.github.com/repos/" .Params.repo).description }} - {{ else if .Params.gist }} - {{ (getJSON "https://api.github.com/gists/" .Params.gist).description }} - {{ else }} - {{ .Summary | truncate .Site.Params.summary_length "..." }} - {{ end }} -{{ end }} diff --git a/layouts/partials/tags.html b/layouts/partials/tags.html deleted file mode 100644 index a01ce02..0000000 --- a/layouts/partials/tags.html +++ /dev/null @@ -1,9 +0,0 @@ -{{ if .Params.tags }} -
    - {{ range .Params.tags }} -
    - {{ . }} -
    - {{ end }} -
    -{{ end }} diff --git a/layouts/projects/single.html b/layouts/projects/single.html deleted file mode 100644 index 68eb303..0000000 --- a/layouts/projects/single.html +++ /dev/null @@ -1,23 +0,0 @@ -{{ partial "page_start.html" . }} -
    -
    - {{ partial "content.html" . }} - -
    -
      - {{ if .Params.download_url }} -
    • Download {{ .Title }}
    • - {{ end }} - {{ if .Params.repo }} - {{ $data := getJSON "https://api.github.com/repos/" .Params.repo }} -
    • View Source
    • - {{ end }} - {{ if .Params.gist }} - {{ $data := getJSON "https://api.github.com/gists/" .Params.gist }} -
    • View Source
    • - {{ end }} -
    -
    -
    -
    -{{ partial "page_end.html" . }}