Skip to content

Commit c4fb091

Browse files
committed
misc updates
1 parent 6b41d6a commit c4fb091

5 files changed

Lines changed: 11 additions & 6 deletions

File tree

config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ enableGitInfo = true
66

77
[params]
88
GITHUB_PROJECT = "https://github.com/frankheat/offsecnotes"
9-
NICKNAME = "frankheat"
9+
AUTHOR = "frankheat"
1010
GITHUB_PROFILE = "https://github.com/frankheat"
1111
LINKEDIN_PROFILE = "https://www.linkedin.com/in/francesco-volpe98/"

content/_index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: "offensive security notes"
3+
projectName: "offsecnotes"
4+
description: "offsecnotes provides a collection of concepts, techniques, and tools useful for anyone interested in penetration testing and offensive security."
5+
---

themes/mytheme/layouts/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33

44
<head>
5-
{{ partial "head.html" }}
5+
{{ partial "head.html" . }}
66

77
<style>
88
h1 {
@@ -47,8 +47,8 @@
4747
<div class="main-content col-lg-9 col-xl-6 p-4" id="mainContent">
4848
<div class="main-content">
4949
<div class="title">
50-
<h1>offsecnotes</h1>
51-
<h5>by frankheat</h5>
50+
<h1>{{ .Params.projectName }}</h1>
51+
<h5>by {{ .Site.Params.AUTHOR }}</h5>
5252
</div>
5353
{{ partial "site-nav.html" }}
5454
</div>

themes/mytheme/layouts/partials/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="bottom-of-page container">
33
<div class="row">
44
<div class="col">
5-
© 2025, {{ .Site.Params.NICKNAME }}
5+
© 2025, {{ .Site.Params.AUTHOR }}
66
{{- $lastmod := now.AddDate -100 0 0 -}}
77
{{- range .Site.RegularPages -}}
88
{{- if gt .Lastmod $lastmod -}}

themes/mytheme/layouts/partials/head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<meta charset="UTF-8">
22
<meta name="viewport" content="width=device-width, initial-scale=1.0">
3-
<title>{{ if .Title }}{{ .Title }} – offsecnotes {{ else }} offsecnotes{{ end }}</title>
3+
<title>{{ if .Title }}{{ .Title }} – offsecnotes {{ end }}</title>
44

55
<link rel="canonical" href="{{ .Permalink }}">
66
<link rel="icon" href='{{ absURL "favicon.svg" }}' type="image/x-icon">

0 commit comments

Comments
 (0)