Skip to content

Commit 54554f7

Browse files
committed
Improve layout & desc
1 parent 134b8bc commit 54554f7

4 files changed

Lines changed: 10 additions & 9 deletions

File tree

content/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ date = '2025-07-17T09:57:32+02:00'
33
title = 'TRX'
44
+++
55

6-
TheRomanXpl0it's official website.
6+
The Roman Exploit CTF team

hugo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ dateformNum = "2006-01-02"
6363
dateformNumTime = "2006-01-02 15:04"
6464
# Metadata mostly used in document's head
6565
#
66-
description = "TheRomanXpl0it's official website"
67-
keywords = "ctf, italian, trx, team, cybersecurity"
66+
description = "The Roman Exploit's website"
67+
keywords = "CTF, TheRomanXpl0it, TheRomanExploit, italian, TRX, team, cybersecurity"
6868
images = [""]
6969
baseAvatar = "/avatars/fallback.jpg"
7070
# Home subtitle of the index page.
@@ -126,6 +126,7 @@ content = 0.5
126126

127127
[params.author]
128128
name = "TRX"
129+
email = "info@theromanxpl0.it"
129130
category = "members"
130131

131132
# Custom footer

themes/hello-friend-trx/layouts/partials/head.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<meta name="robots" content="noindex" />
55
{{ end }}
66
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
7-
<meta name="author" content="{{ if .Params.author }}{{ .Params.author }}{{ else }}{{ range .Site.Author }}{{ . }} {{ end }}{{ end }}">
8-
<meta name="description" content="{{ if .IsHome }}{{ .Site.Params.homeSubtitle }}{{ else }}{{ if .Params.Description }}{{ .Params.Description }}{{ else }}{{ .Summary | plainify }}{{ end }}{{ end }}" />
7+
<meta name="author" content="{{ .Site.Params.Author.Name }}">
8+
<meta name="description" content="{{ if .Params.Description }}{{ .Params.Description }}{{ else }}{{ .Summary | plainify }}{{ end }}" />
99
<meta name="keywords" content="{{ .Site.Params.keywords }}{{ if .Params.tags }}{{ range .Params.tags }}, {{ . }}{{ end }}{{ end }}" />
1010
<meta name="robots" content="noodp" />
1111
<meta name="theme-color" content="{{ .Site.Params.themeColor }}" />

themes/hello-friend-trx/layouts/posts/rss.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<link>{{ .Permalink }}</link>
55
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
66
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
7-
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
8-
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
9-
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
7+
<language>{{.}}</language>{{end}}{{ with .Site.Params.Author.email }}
8+
<managingEditor>{{.}}{{ with $.Site.Params.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Params.Author.email }}
9+
<webMaster>{{.}}{{ with $.Site.Params.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
1010
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
1111
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
1212
{{ with .OutputFormats.Get "RSS" -}}
@@ -17,7 +17,7 @@
1717
<title>{{ .Title }}</title>
1818
<link>{{ .Permalink }}</link>
1919
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
20-
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
20+
{{ with .Site.Params.Author.email }}<author>{{.}}{{ with $.Site.Params.Author.name }} ({{.}}){{end}}</author>{{end}}
2121
<guid>{{ .Permalink }}</guid>
2222
<description>{{ .Summary | html }}</description>
2323
<content type="html">{{ printf `<![CDATA[%s]]>` .Content | safeHTML }}</content>

0 commit comments

Comments
 (0)