diff --git a/_config.yml b/_config.yml index 3b27c44..efe4781 100644 --- a/_config.yml +++ b/_config.yml @@ -20,15 +20,15 @@ title : "Code Ninjas Langley" title_separator : "-" subtitle : "" name : "Code Ninjas Langley" -description : "Code Ninjas | Langley (Berks) | Your kids will love learning to code while building video games at Code Ninjas." -url : # the base hostname & protocol for your site e.g. "https://mmistakes.github.io" +description : "Code Ninjas Langley (Berks). Let your kids learn the power of programming in a fun and exciting way!" +url : "https://codeninjaslangley.co.uk" # the base hostname & protocol for your site e.g. "https://mmistakes.github.io" baseurl : # the subpath of your site, e.g. "/blog" repository : # GitHub username/repo-name e.g. "mmistakes/minimal-mistakes" teaser : # path of fallback teaser image, e.g. "/assets/images/500x300.png" logo : "https://www.codeninjas.co.uk/assets/img/brands/codeNinjas/code-ninjas-logo.png" # path of logo image to display in the masthead, e.g. "/assets/images/88x88.png" masthead_title : " " # overrides the website title displayed in the masthead, use " " for no title # breadcrumbs : false # true, false (default) -words_per_minute : 200 +words_per_minute : 200 comments: provider : # false (default), "disqus", "discourse", "facebook", "staticman", "staticman_v2", "utterances", "giscus", "custom" disqus: @@ -243,6 +243,7 @@ plugins: - jekyll-gist - jekyll-feed - jekyll-include-cache + # - jekyll-seo # mimic GitHub Pages with --safe whitelist: diff --git a/_includes/seo.html b/_includes/seo.html index c9d01e9..8f03ca0 100644 --- a/_includes/seo.html +++ b/_includes/seo.html @@ -1,84 +1,60 @@ - {%- if site.url -%} - {%- assign seo_url = site.url | append: site.baseurl -%} +{%- assign seo_url = site.url | append: site.baseurl -%} {%- endif -%} {%- assign seo_url = seo_url | default: site.github.url -%} - {% assign title_separator = site.title_separator | default: '-' | replace: '|', '|' %} - {%- if page.title -%} - {%- assign seo_title = page.title | append: " " | append: title_separator | append: " " | append: site.title -%} +{%- assign seo_title = page.title | append: " " | append: title_separator | append: " " | append: site.title -%} {%- endif -%} - {%- if seo_title -%} - {%- assign seo_title = seo_title | markdownify | strip_html | strip_newlines | escape_once -%} +{%- assign seo_title = seo_title | markdownify | strip_html | strip_newlines | escape_once -%} {%- endif -%} - {% if page.canonical_url %} - {%- assign canonical_url = page.canonical_url %} +{%- assign canonical_url = page.canonical_url %} {% else %} - {%- assign canonical_url = page.url | replace: "index.html", "" | absolute_url %} +{%- assign canonical_url = page.url | replace: "index.html", "" | absolute_url %} {% endif %} - {%- assign seo_description = page.description | default: page.excerpt | default: site.description -%} {%- if seo_description -%} - {%- assign seo_description = seo_description | markdownify | strip_html | newline_to_br | strip_newlines | replace: '
', ' ' | escape_once | strip -%} +{%- assign seo_description = seo_description | markdownify | strip_html | newline_to_br | strip_newlines | replace: '
', ' ' | escape_once | strip -%} {%- endif -%} - {%- assign author = page.author | default: page.authors[0] | default: site.author -%} {%- assign author = site.data.authors[author] | default: author -%} - {%- if author.twitter -%} - {%- assign author_twitter = author.twitter | replace: "@", "" -%} +{%- assign author_twitter = author.twitter | replace: "@", "" -%} {%- endif -%} - {%- assign page_large_image = page.header.og_image | default: page.header.overlay_image | default: page.header.image | absolute_url -%} {%- assign page_large_image = page_large_image | escape -%} - {%- assign page_teaser_image = page.header.teaser | default: site.og_image | absolute_url -%} {%- assign page_teaser_image = page_teaser_image | escape -%} - {%- assign site_og_image = site.og_image | absolute_url -%} {%- assign site_og_image = site_og_image | escape -%} - {%- if page.date -%} - {%- assign og_type = "article" -%} +{%- assign og_type = "article" -%} {%- else -%} - {%- assign og_type = "website" -%} +{%- assign og_type = "website" -%} {%- endif -%} - {{ seo_title | default: site.title }}{% if paginator %}{% unless paginator.page == 1 %} {{ title_separator }} {{ site.data.ui-text[site.locale].page | default: "Page" }} {{ paginator.page }}{% endunless %}{% endif %} - {% if author.name %} - - {% if og_type == "article" %} - - {% endif %} -{% endif %} - + +{% if og_type == "article" %}{% endif %}{% endif %} - -{% if seo_description %} - -{% endif %} - +{% if seo_description %}{% endif %} {% if page_large_image %} {% elsif page_teaser_image %} {% endif %} - {% if site.twitter.username %} - {% if page_large_image %} @@ -88,39 +64,31 @@ {% endif %} {% endif %} - {% if author_twitter %} {% endif %} {% endif %} - {% if page.date %} {% endif %} - {% if og_type == "article" and page.last_modified_at %} {% endif %} - {% if site.facebook %} {% if site.facebook.publisher %} {% endif %} - {% if site.facebook.app_id %} {% endif %} {% endif %} - - {% if paginator.previous_page %} {% endif %} {% if paginator.next_page %} {% endif %} - - {% if site.google_site_verification %} {% endif %} @@ -155,4 +122,3 @@ {% if site.baidu_site_verification %} {% endif %} - diff --git a/minimal-mistakes-jekyll.gemspec b/minimal-mistakes-jekyll.gemspec index e985e49..6625864 100644 --- a/minimal-mistakes-jekyll.gemspec +++ b/minimal-mistakes-jekyll.gemspec @@ -15,7 +15,7 @@ Gem::Specification.new do |spec| f.match(%r{^(assets|_(data|includes|layouts|sass)/|(LICENSE|README|CHANGELOG)((\.(txt|md|markdown)|$)))}i) end - spec.add_runtime_dependency "jekyll", ">= 3.7", "< 5.0" + spec.add_runtime_dependency "jekyll" spec.add_runtime_dependency "jekyll-paginate", "~> 1.1" spec.add_runtime_dependency "jekyll-sitemap", "~> 1.3" spec.add_runtime_dependency "jekyll-gist", "~> 1.5" diff --git a/pages/camps.html b/pages/camps.html index cfbfa9f..1bc0461 100644 --- a/pages/camps.html +++ b/pages/camps.html @@ -10,19 +10,22 @@ camps: link: /camps/stopmotion-animation/ dates: 25th, 26th July youtubeid: 5Zs7vqM8t24 + ended: true - name: Moviemaking with Minecraft img: https://img.icons8.com/?size=512x&id=nQVd58awWcQA&format=gif link: /camps/moviemaking-with-minecraft/ + dates: 1st, 2nd August youtubeid: UMKng76YFq4 + ended: true - name: Become a Youtuber img: https://img.icons8.com/?size=512x&id=qdWsFiGwz7NW&format=gif - link: /camps/become-a-youtuber/ + link: https://www.codeninjas.co.uk/langley-brk-uk/camps/become-a-youtuber dates: 8th, 9th August youtubeid: A5oDCEHdOpM - name: Roblox Development img: https://img.icons8.com/?size=512x&id=113741&format=png - link: /camps/roblox-development/ + link: https://www.codeninjas.co.uk/langley-brk-uk/camps/intro-to-roblox-development dates: 15th, 16th August youtubeid: ANL0Jz7Yt2c --- @@ -44,7 +47,11 @@ camps:
{{camp.dates}}
+ {% if camp.ended %} +

CAMP CONCLUDED

+ {% endif %} Learn More +
diff --git a/pages/privacy-policy.md b/pages/privacy-policy.html similarity index 82% rename from pages/privacy-policy.md rename to pages/privacy-policy.html index 99aaef5..6b61a2c 100644 --- a/pages/privacy-policy.md +++ b/pages/privacy-policy.html @@ -3,35 +3,40 @@ layout: default title: Privacy Policy permalink: /privacy-policy/ comments: false +w3: true --- -### Information that is gathered from visitors +
+

Privacy Policy

+
+ +
+

Information that is gathered from visitors

In common with other websites, log files are stored on the web server saving details such as the visitor's IP address, browser type, referring page and time of visit. - Cookies may be used to remember visitor preferences when interacting with the website. - Where registration is required, the visitor's email and a username will be stored on the server. -### How the Information is used +

How the Information is used

The information is used to enhance the vistor's experience when using the website to display personalised content and possibly advertising. - E-mail addresses will not be sold, rented or leased to 3rd parties. - E-mail may be sent to inform you of news of our services or offers by us or our affiliates. -### Visitor Options + +

Visitor Options

If you have subscribed to one of our services, you may unsubscribe by following the instructions which are included in e-mail that you receive. You may be able to block cookies via your browser settings but this may prevent you from access to certain features of the website. -### Cookies +

Cookies

Cookies are small digital signature files that are stored by your web browser that allow your preferences to be recorded when visiting the website. Also they may be used to track your return visits to the website. 3rd party advertising companies may also use cookies for tracking purposes. -### Google Ads +

Google Ads

Google, as a third party vendor, uses cookies to serve ads. Google's use of the DART cookie enables it to serve ads to visitors based on their visit to sites they visit on the Internet. -Website visitors may opt out of the use of the DART cookie by visiting the Google ad and content network privacy policy. \ No newline at end of file +Website visitors may opt out of the use of the DART cookie by visiting the Google ad and content network privacy policy. + +
\ No newline at end of file diff --git a/pages/programmes.html b/pages/programmes.html index 89ade6d..6b6ec6c 100644 --- a/pages/programmes.html +++ b/pages/programmes.html @@ -17,6 +17,7 @@ w3: true

CODE NINJAS

CREATE

An exciting learning adventure for tech-loving kids! Have a blast building awesome video games and developing ninja coding skills on the path from white to black belt.

+ Learn More
@@ -30,6 +31,7 @@ w3: true
Table Setting
+ Learn More
@@ -42,6 +44,7 @@ w3: true

CAMPS

An exciting learning adventure for tech-loving kids! Have a blast building awesome video games and developing ninja coding skills on the path from white to black belt.

- + Learn More +