Skip to content

Commit

Permalink
Update layouts
Browse files Browse the repository at this point in the history
  • Loading branch information
tong committed Nov 11, 2020
1 parent efa972a commit 65febe7
Show file tree
Hide file tree
Showing 15 changed files with 3 additions and 133 deletions.
3 changes: 0 additions & 3 deletions layouts/404.html

This file was deleted.

18 changes: 0 additions & 18 deletions layouts/_default/baseof.html

This file was deleted.

5 changes: 0 additions & 5 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
{{ define "template-path" }} index.html {{end}}

{{ define "nav" }}
{{ end }}

{{ define "main" }}
<article>
<header>
Expand Down
2 changes: 2 additions & 0 deletions layouts/partials/links.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

{{ if eq $url.Host "github.com" }}{{ $type = "github" }}
{{ else if eq $url.Host "gitlab.com" }}{{ $type = "gitlab" }}
{{ else if eq $url.Host "bandcamp.com" }}{{ $type = "bandcamp" }}
{{ else if eq $url.Host "disktree.bandcamp.com" }}{{ $type = "bandcamp" }}
{{ else if eq $url.Host "twitter.com" }}{{ $type = "twitter" }}
{{ else if eq $url.Host "vimeo.com" }}{{ $type = "vimeo" }}
{{ else if eq $url.Host "youtube.com" }}{{ $type = "youtube" }}
Expand Down
10 changes: 0 additions & 10 deletions layouts/partials/prev_next.html

This file was deleted.

5 changes: 0 additions & 5 deletions layouts/partials/site/aside.html

This file was deleted.

2 changes: 0 additions & 2 deletions layouts/partials/site/favicons.html

This file was deleted.

36 changes: 0 additions & 36 deletions layouts/partials/site/head.html

This file was deleted.

6 changes: 0 additions & 6 deletions layouts/partials/site/header.html

This file was deleted.

Empty file removed layouts/partials/site/main.html
Empty file.
8 changes: 0 additions & 8 deletions layouts/partials/site/nav.html

This file was deleted.

13 changes: 0 additions & 13 deletions layouts/partials/theme/bw.html

This file was deleted.

13 changes: 0 additions & 13 deletions layouts/partials/theme/redblue.html

This file was deleted.

13 changes: 0 additions & 13 deletions layouts/partials/theme/wb.html

This file was deleted.

2 changes: 1 addition & 1 deletion layouts/shortcodes/link-download.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<a href="{{ .Get 0 }}" class="ic-download" download></a>
<a href="{{ .Get 0 }}" class="link-download ic-download" download>{{ .Get 1 }}</a>

0 comments on commit 65febe7

Please sign in to comment.