diff options
author | Adin Scannell <ascannell@google.com> | 2019-11-18 13:40:27 -0800 |
---|---|---|
committer | Adin Scannell <ascannell@google.com> | 2020-04-21 12:00:59 -0700 |
commit | 957e26a6f30d40e2bff042d76a327d0a2cfbabae (patch) | |
tree | 3e95d46355585ae4661de5cef30cdca72a7c94bb /layouts/blog | |
parent | dc2f198866c5fd8162a79978eb3633975d3ba11f (diff) |
Move website to a simpler jekyll-based template
This will allow us to merge the site into the main repository.
This merge allows the documentation to be kept up-to-date and
synchronized with the main project. Builds will be triggered on any
update, removing the need for the cron-based reploy.
Diffstat (limited to 'layouts/blog')
-rw-r--r-- | layouts/blog/baseof.html | 32 | ||||
-rw-r--r-- | layouts/blog/content.html | 14 |
2 files changed, 0 insertions, 46 deletions
diff --git a/layouts/blog/baseof.html b/layouts/blog/baseof.html deleted file mode 100644 index 21af06116..000000000 --- a/layouts/blog/baseof.html +++ /dev/null @@ -1,32 +0,0 @@ -<!doctype html> -<html lang="{{ .Site.Language.Lang }}" class="no-js"> - <head> - {{ partial "head.html" . }} - <title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }}</title> - </head> - <body class="td-{{ .Kind }} td-blog"> - <header> - {{ partial "navbar.html" . }} - </header> - <div class="container-fluid td-outer"> - <div class="td-main"> - <div class="row flex-xl-nowrap"> - <div class="col-12 col-md-3 col-xl-2 td-sidebar d-print-none"> - {{ partial "sidebar.html" . }} - </div> - <div class="d-none d-xl-block col-xl-2 td-toc d-print-none"> </div> - <main class="col-12 col-md-9 col-xl-8 pl-md-5 pr-md-4" role="main"> - {{ with .CurrentSection.OutputFormats.Get "rss" -}} - <a class="btn btn-lg -bg-orange td-rss-button d-none d-lg-block" href="{{ .Permalink | safeURL }}" target="_blank"> - RSS <i class="fa fa-rss ml-2 "></i> - </a> - {{ end -}} - {{ block "main" . }}{{ end }} - </main> - </div> - </div> - {{ partial "footer.html" . }} - </div> - {{ partial "scripts.html" . }} - </body> -</html> diff --git a/layouts/blog/content.html b/layouts/blog/content.html deleted file mode 100644 index f3f89cb28..000000000 --- a/layouts/blog/content.html +++ /dev/null @@ -1,14 +0,0 @@ -<div class="td-content"> - <h1>{{ .Title }}</h1> - {{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }} - <div class="td-byline mb-4"> - {{ with .Params.author }}{{ T "post_byline_by" }} <b>{{ . | markdownify }}</b> |{{ end}} - <time datetime="{{ $.Date.Format "2006-01-02" }}" class="text-muted">{{ $.Date.Format $.Site.Params.time_format_blog }}</time> - </div> - {{ .Content }} - {{ if (.Site.DisqusShortname) }} - <br /> - {{ partial "disqus-comment.html" . }} - <br /> - {{ end }} -</div> |