feat(social): supports rel-me links
This commit is contained in:
parent
cf36d7daa9
commit
d7598a843e
5 changed files with 14 additions and 12 deletions
10
data.go
10
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"`
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue