Skip to content

Commit

Permalink
Initial Hugo Setup
Browse files Browse the repository at this point in the history
Signed-off-by: Tommy <[email protected]>
  • Loading branch information
TommyTran732 committed Jul 16, 2022
1 parent f8b9e8b commit 657bbb0
Show file tree
Hide file tree
Showing 8 changed files with 560 additions and 122 deletions.
Binary file added .DS_Store
Binary file not shown.
Empty file added .hugo_build.lock
Empty file.
558 changes: 437 additions & 121 deletions LICENSE

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# privsec.dev
Practical Privacy and Security stuff
A practical approach to privacy and security
6 changes: 6 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

112 changes: 112 additions & 0 deletions config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
baseURL: "https://privsec.dev"
title: PrivSec.dev
paginate: 5
theme: PaperMod

enableRobotsTXT: true
buildDrafts: false
buildFuture: false
buildExpired: false

minify:
disableXML: true
minifyOutput: true

params:
env: production # to enable google analytics, opengraph, twitter-cards and schema.
title: PrivSec.dev
description: "A practical approach to privacy and security"
keywords: [Privacy, Security]
author: PrivSec.dev Team
# author: ["Me", "You"] # multiple authors
images: ["<link or path of image for opengraph, twitter-cards>"]
DateFormat: "January 2, 2006"
defaultTheme: auto # dark, light
disableThemeToggle: false

ShowReadingTime: true
ShowShareButtons: true
ShowPostNavLinks: true
ShowBreadCrumbs: true
ShowCodeCopyButtons: false
ShowWordCount: true
ShowRssButtonInSectionTermList: true
UseHugoToc: true
disableSpecial1stPost: false
disableScrollToTop: false
comments: false
hidemeta: false
hideSummary: false
showtoc: false
tocopen: false
defaultTheme: dark
disableThemeToggle: true

assets:
# disableHLJS: true # to disable highlight.js
# disableFingerprinting: true
favicon: "<link / abs url>"
favicon16x16: "<link / abs url>"
favicon32x32: "<link / abs url>"
apple_touch_icon: "<link / abs url>"
safari_pinned_tab: "<link / abs url>"

label:
text: "PrivSec.dev"

# profile-mode
profileMode:
enabled: true # needs to be explicitly set
title: PrivSec.dev
subtitle: "A practical approach to privacy and security"

socialIcons:
- name: matrix
url: "https://matrix.to/#/#privsec:arcticfoxes.net"
- name: github
url: "https://github.com/PrivSec-dev"
- name: email
url: "mailto:[email protected]"

cover:
hidden: true # hide everywhere but not in structured data
hiddenInList: true # hide on list pages and home
hiddenInSingle: true # hide on single page

editPost:
URL: "https://github.com/<path_to_repo>/content"
Text: "Suggest Changes" # edit text
appendFilePath: true # to append file path to Edit link

# for search
# https://fusejs.io/api/options.html
fuseOpts:
isCaseSensitive: false
shouldSort: true
location: 0
distance: 1000
threshold: 0.4
minMatchCharLength: 0
keys: ["title", "permalink", "summary", "content"]
menu:
main:
- identifier: Knowledge Base
name: Knowledge Base
url: /Knowledge Base/
weight: 10
- identifier: Operating Systems
name: Operating Systems
url: /os/
weight: 20
- identifier: Software
name: Software
url: /software/
weight: 30
- identifier: Providers
name: Providers
url: /providers/
weight: 40
- identifier: Self Hosting
name: Self Hosting
url: /self-hosting/
weight: 50

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"Target":"main.4e5c639214707eff609bb55fe49e183dee42258a73bc90e4cc7b0a84f900798a.css","MediaType":"text/css","Data":{"Integrity":"sha256-TlxjkhRwfv9gm7Vf5J4YPe5CJYpzvJDkzHsKhPkAeYo="}}

0 comments on commit 657bbb0

Please sign in to comment.