[skip prod] bring back standalone type

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-07-12 19:16:59 +05:30
parent bb717ef3ee
commit 993ee84269
6 changed files with 60 additions and 0 deletions

View File

@ -1,6 +1,8 @@
+++
title = "About Me"
id = "about"
type = "standalone"
layout = "standalone"
aliases = [
"/about",
"/contact",

View File

@ -1,6 +1,8 @@
+++
title = "Android Password Store Privacy Policy"
id = "aps-privacy"
type = "standalone"
layout = "standalone"
+++
## Privacy Policy

View File

@ -1,6 +1,8 @@
+++
title = "Projects"
id = "projects"
type = "standalone"
layout = "standalone"
+++
Over the years I have worked on and contributed to various projects in the Android community. My personal projects can be found on [GitHub](https://github.com/msfjarvis),

View File

@ -1,5 +1,7 @@
+++
title = "Uses"
type = "standalone"
layout = "standalone"
+++
## Editor + Terminal

View File

@ -1,6 +1,8 @@
+++
title = "Viscerion Privacy Policy"
id = "viscerion-privacy"
type = "standalone"
layout = "standalone"
+++
## Privacy Policy

View File

@ -0,0 +1,50 @@
{{ define "styles" }}
{{ $.Scratch.Set "style_opts" (dict "src" "scss/pages/post.scss" "dest" "css/post.css") }}
{{ end }}
{{ define "main" }}
{{ $dateFormat := .Site.Params.dateFormat | default "Jan 2 2006" }}
<div class="flex-wrapper">
<div class="post__container">
<div class="post">
<header class="post__header">
<h1 id="post__title">{{.Title}}</h1>
</header>
<article class="post__content">
{{ partial "anchored-headings.html" .Content }}
{{ if or .Params.math .Site.Params.math }}
{{ partial "math.html" . }}
{{ end }}
</article>
{{ partial "tags.html" .}} {{ partial "post-pagination.html" .}}
{{ template "_internal/disqus.html" . }}
<footer class="post__footer">
{{ partial "social-icons.html" .}}
<p>{{ replace .Site.Copyright "{year}" now.Year }}</p>
</footer>
</div>
</div>
{{ if .Params.toc }}
<div class="toc-container">
{{ if .Site.Params.showPageTitleInTOC }} <div class="toc-post-title">{{ .Title }}</div> {{ end }}
{{ .TableOfContents }}
</div>
{{ end }}
</div>
{{ end }}
{{ define "scripts" }}
{{/* Hardcode a specific prismjs version to avoid a redirect on every page load. */}}
<script src="https://unpkg.com/prismjs@1.20.0/components/prism-core.min.js"></script>
{{/* Automatically loads the needed languages to highlight the code blocks. */}}
<script src="https://unpkg.com/prismjs@1.20.0/plugins/autoloader/prism-autoloader.min.js"
data-autoloader-path="https://unpkg.com/prismjs@1.20.0/components/"></script>
{{ if .Params.toc }}
<script src="/js/table-of-contents.js"></script>
{{ end }}
{{ end }}