Skip to content

Commit 4544a60

Browse files
committed
Started converting hugo template to computingteachers
Cant use svg favicon or logo ... I am le sad
1 parent 5eea4ec commit 4544a60

5 files changed

Lines changed: 30 additions & 15 deletions

File tree

Lines changed: 1 addition & 0 deletions
Loading

computingteachers.logo.svg renamed to hugo_site/assets/images/computingteachers.logo.svg

File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
################ English language ##################
22
[en]
33
languageName = "En"
4-
languageCode = "en-us"
4+
languageCode = "en-uk"
55
contentDir = "content/english"
66
weight = 1

hugo_site/config/_default/params.toml

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
#################### default parameters ############################
22
# favicon module: https://github.com/gethugothemes/hugo-modules/tree/master/images#favicon-implementation
3+
#favicon = "images/computingteachers.logo.svg"
34
favicon = "images/favicon.png"
45
# logo module: https://github.com/gethugothemes/hugo-modules/tree/master/images#logo-implementation
56
logo = "images/logo.png"
67
logo_darkmode = "images/logo-darkmode.png"
8+
#logo = "images/computingteachers.logo.svg"
9+
#logo_darkmode = "images/computingteachers.logo.darkmode.svg"
710
# use `px` or `x` with logo_width, example: "100px".
811
# Note: logo_width is not work with .svg file
912
logo_width = "160px"
1013
logo_height = "32px"
1114
# if logo_webp set false, will not generate WEBP version of logo | default is true
12-
logo_webp = true
15+
logo_webp = false
1316
# logo text will only show when logo is missing.
14-
logo_text = "Hugoplate"
17+
logo_text = "ComputingTeachers.uk"
1518
# navbar fixed to top
1619
navbar_fixed = true
1720
# theme-mode
@@ -27,7 +30,7 @@ google_adsense = "" # example: ca-pub-xxxxxxxxxxxxxxxx
2730
# custom script on header, example: custom_script= "<script>console.log(\"Hello World\")</script>"
2831
custom_script = ""
2932
# copyright
30-
copyright = "Designed & Developed by [Zeon Studio](https://zeon.studio)"
33+
copyright = "Content by respective authors. Hugo Template by [Zeon Studio](https://zeon.studio)"
3134

3235
# Preloader
3336
# preloader module: https://github.com/gethugothemes/hugo-modules/tree/master/components/preloader
@@ -39,12 +42,12 @@ preloader = "" # use jpg, png, svg or gif format.
3942
[navigation_button]
4043
enable = true
4144
label = "Github"
42-
link = "https://github.com/zeon-studio/hugoplate"
45+
link = "https://github.com/ComputingTeachers/computingteachers.uk"
4346

4447
# search
4548
# search module: https://github.com/gethugothemes/hugo-modules/tree/master/search
4649
[search]
47-
enable = true
50+
enable = false
4851
primary_color = "#121212"
4952
include_sections = ["blog"]
5053
show_image = true
@@ -55,17 +58,28 @@ show_categories = true
5558
# announcement
5659
# announcement module: https://github.com/gethugothemes/hugo-modules/tree/master/components/announcement
5760
[announcement]
58-
enable = true
61+
enable = false
5962
expire_days = 7
6063
content = "<span class='text-center block'>♥️ Loving Hugoplate? <a class='underline' href='https://github.com/zeon-studio/hugoplate' target='_blank' rel='noopener'>Please ⭐️ on Github</a></span>"
6164

6265
# seo meta data for OpenGraph / Twitter Card
6366
# seo module: https://github.com/gethugothemes/hugo-modules/tree/master/seo-tools/basic-seo
6467
[metadata]
65-
keywords = ["Boilerplate", "Hugo"]
66-
description = "Hugo & Tailwindcss Starter"
67-
author = "zeon.studio"
68-
twitter = "zeon_studio"
68+
keywords = [
69+
"Computing",
70+
"Teachers",
71+
"UK",
72+
"Teaching",
73+
"Education",
74+
"Computer Science",
75+
"School",
76+
"College",
77+
"University",
78+
"A-Level",
79+
]
80+
description = "Resources"
81+
author = "Allan Callaghan and Contributors"
82+
twitter = "calaldees"
6983
image = "images/og-image.png"
7084

7185

hugo_site/hugo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
######################## default configuration ####################
22
# The base URL of your site (required). This will be prepended to all relative URLs.
3-
baseURL = "https://example.org"
3+
baseURL = "https://computingteachers.uk"
44
# Title of your website (required).
5-
title = "Hugoplate"
5+
title = "ComputingTeachers.uk"
66
# Your theme name
77
# theme = "hugoplate"
88
# Default time zone for time stamps; use any valid tz database name: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
9-
timeZone = "America/New_York"
9+
timeZone = "Europe/London"
1010
# post excerpt
1111
summaryLength = 10 # see https://gohugo.io/content-management/summaries/#automatic-summary
1212
# disable language
@@ -65,7 +65,7 @@ home = ["HTML", "RSS", "WebAppManifest", "SearchIndex"]
6565
[imaging]
6666
# See https://github.com/disintegration/imaging
6767
# Default JPEG or WebP quality setting. Default is 75.
68-
quality = 80
68+
quality = 75
6969
resampleFilter = "Lanczos"
7070

7171
############################ Caches ##############################

0 commit comments

Comments
 (0)