diff --git a/assets/sass/custom.scss b/assets/sass/custom.scss index d65f6d3..5a6cc6e 100644 --- a/assets/sass/custom.scss +++ b/assets/sass/custom.scss @@ -30,3 +30,9 @@ p, h3 { font-size: .8em; } } + +.social-icon { + img { + height: 75%; + } +} diff --git a/config.toml b/config.toml index 5cd21c9..53ce1a4 100644 --- a/config.toml +++ b/config.toml @@ -2,7 +2,7 @@ baseURL = "http://codm.ataraxy.tk/" languageCode = "en-us" DefaultContentLanguage = "en" -title = "Ataraxy" +title = "Ataraxy | Call of Duty: Mobile Clan" theme = "meghna-hugo" summaryLength = 10 @@ -39,7 +39,7 @@ home= "Home" logo = "images/logo.png" gmapAPI = "https://maps.googleapis.com/maps/api/js?key=AIzaSyCcABaamniA6OL5YvYSpB3pFMNrXwXnLwU&libraries=places" # Meta data -description = "Call of Duty: Mobile Clan" +description = "Come check out our site for the clan for more information like requirements, members and the Discord server!" author = "Themefisher" # Google Analitycs # googleAnalitycsID = "Your ID" @@ -92,4 +92,6 @@ custom_css = ["css/custom.css"] # social Icons [[params.footer.socialIcon]] icon = "tf-ion-ios-chatboxes" + # img = "https://img.icons8.com/color/48/000000/discord-logo.png" + img = "images/discord-icon.svg" url = "http://codm.ataraxy.tk/discord" diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..fdfdf26 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,67 @@ +{{"" | safeHTML}} + +{{"" | safeHTML}} + +{{"" | safeHTML}} + + {{"" | safeHTML}} + + {{"" | safeHTML}} + + {{"" | safeHTML}} + + {{"" | safeHTML}} + + {{"" | safeHTML}} + + {{"" | safeHTML}} + + {{"" | safeHTML}} + + {{"" | safeHTML}} + + {{"" | safeHTML}} + {{ $scroll := resources.Get "js/scroll-behavior-polyfill.js" | minify}} + + {{"" | safeHTML}} + + {{"" | safeHTML}} + {{ $script := resources.Get "js/script.js" | minify}} + + {{ "" | safeHTML }} + diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..7e1a7b2 --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,37 @@ + + + + + + {{ "" | safeHTML }} + + {{ hugo.Generator }} + + {{ if .IsHome }}{{ .Site.Title }}{{ else if .IsPage}}{{ .Title }}{{" | "}}{{ .CurrentSection.Title }}{{else if eq .Section "author" }}{{if .Params.name}}{{.Params.name}} | {{ i18n "authorOfPostsOnBlog" }} „{{.Site.Title}}" {{else}}{{ i18n "authorsOfPostsOnBlog" }} „{{.Site.Title}}"{{end}}{{else if eq .Section "blog" }}{{ i18n "blogs" }} | {{ .Site.Title}}{{else}}{{ .Title }}{{with .Params.Description}}{{" | " .}}{{ end }}{{ end }} + + + {{"" |safeHTML}} + + + {{""|safeHTML}} + {{""|safeHTML}} + + {{""|safeHTML}} + + {{""|safeHTML}} + + {{""|safeHTML}} + + {{""|safeHTML}} + + + {{""|safeHTML}} + {{ $styles := resources.Get "css/style.css" | minify}} + + {{ "" | safeHTML }} + {{ range .Site.Params.custom_css }} + + {{ end }} + +{{- partial "head_custom.html" . }} + diff --git a/layouts/partials/head_custom.html b/layouts/partials/head_custom.html index 354d68d..4445aef 100644 --- a/layouts/partials/head_custom.html +++ b/layouts/partials/head_custom.html @@ -4,3 +4,12 @@ Do not put anything in this file - it's only here so that hugo won't throw an er --> {{ $style := resources.Get "sass/custom.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }} + + + + + + + + + diff --git a/resources/_gen/assets/scss/sass/custom.scss_48b060fe05b0a273d182ef83c0605941.content b/resources/_gen/assets/scss/sass/custom.scss_48b060fe05b0a273d182ef83c0605941.content index 8f48a31..720e309 100644 --- a/resources/_gen/assets/scss/sass/custom.scss_48b060fe05b0a273d182ef83c0605941.content +++ b/resources/_gen/assets/scss/sass/custom.scss_48b060fe05b0a273d182ef83c0605941.content @@ -1 +1 @@ -@import "https://fonts.googleapis.com/css?family=Source+Sans+Pro&display=swap";p,h3{font-family:source sans pro,sans-serif}.logo img{height:2em}.copyright img{height:2em}.bg-1{background-size:cover}.client-thumb img{border-radius:50%}.member-meta span{font-size:.8em} \ No newline at end of file +@import "https://fonts.googleapis.com/css?family=Source+Sans+Pro&display=swap";p,h3{font-family:source sans pro,sans-serif}.logo img{height:2em}.copyright img{height:2em}.bg-1{background-size:cover}.client-thumb img{border-radius:50%}.member-meta span{font-size:.8em}.social-icon img{height:75%} \ No newline at end of file diff --git a/resources/_gen/assets/scss/sass/custom.scss_48b060fe05b0a273d182ef83c0605941.json b/resources/_gen/assets/scss/sass/custom.scss_48b060fe05b0a273d182ef83c0605941.json index c03d8e0..ad33612 100644 --- a/resources/_gen/assets/scss/sass/custom.scss_48b060fe05b0a273d182ef83c0605941.json +++ b/resources/_gen/assets/scss/sass/custom.scss_48b060fe05b0a273d182ef83c0605941.json @@ -1 +1 @@ -{"Target":"sass/custom.min.b5d5504721bb28b5741139895374cf380cdfd5e4ac8c9aae54410bf95561d234.css","MediaType":"text/css","Data":{"Integrity":"sha256-tdVQRyG7KLV0ETmJU3TPOAzf1eSsjJquVEEL+VVh0jQ="}} \ No newline at end of file +{"Target":"sass/custom.min.90c8d82eff81222cc1f2d901f86211d885405f7e569e7223c70ce57d3a034c8e.css","MediaType":"text/css","Data":{"Integrity":"sha256-kMjYLv+BIizB8tkB+GIR2IVAX35WnnIjxwzlfToDTI4="}} \ No newline at end of file diff --git a/static/images/discord-icon.svg b/static/images/discord-icon.svg new file mode 100644 index 0000000..a3fa2d5 --- /dev/null +++ b/static/images/discord-icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/images/url-preview.png b/static/images/url-preview.png new file mode 100644 index 0000000..cf139a1 Binary files /dev/null and b/static/images/url-preview.png differ diff --git a/themes/meghna-hugo b/themes/meghna-hugo index ad9c341..f00713b 160000 --- a/themes/meghna-hugo +++ b/themes/meghna-hugo @@ -1 +1 @@ -Subproject commit ad9c34135b8c22b9799760320456a170b28c1932 +Subproject commit f00713bd2bfa3b361512b6460ec22c0e347b9efb