aboutsummaryrefslogtreecommitdiff
path: root/data.go
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <anhgelus@anhgelus.world>2025-05-19 23:55:02 +0200
committerAnhgelus Morhtuuzh <anhgelus@anhgelus.world>2025-05-19 23:55:02 +0200
commitd7598a843eeea9b4d3d2838cd438f46f454101e7 (patch)
tree4cd2ce7014697ee0ce47d940b197081c7872bcb0 /data.go
parentcf36d7daa9d7a0b4793eb31c1dee07e48756180b (diff)
feat(social): supports rel-me links
Diffstat (limited to 'data.go')
-rw-r--r--data.go10
1 files changed, 1 insertions, 9 deletions
diff --git a/data.go b/data.go
index de58d99..75ec2d0 100644
--- a/data.go
+++ b/data.go
@@ -11,15 +11,6 @@ import (
"strings"
)
-const (
- TitleContentType = "title"
- SubtitleContentType = "subtitle"
- ParagraphContentType = "paragraph"
- ListContentType = "list"
- OrderedListContentType = "ordered_list"
- ButtonsContentType = "links"
-)
-
type ConfigData interface {
GetTextColor() template.CSS
GetBackground() template.CSS
@@ -34,6 +25,7 @@ type Config struct {
Color *Color `json:"colors" toml:"colors"`
Links []*Link `json:"links" toml:"links"`
Legal string `json:"legal" toml:"legal"`
+ RelMeLinks []string `json:"rel_me_links" toml:"rel_me_links"`
CustomPages []string `json:"custom_pages" toml:"custom_pages"`
}