mirror of
https://github.com/codeninjasuk/codeninjasuk.github.io.git
synced 2024-11-25 16:57:54 -05:00
Added links and seo
This commit is contained in:
parent
c0085b644b
commit
c5d7a4edc1
6 changed files with 45 additions and 63 deletions
|
@ -20,8 +20,8 @@ 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"
|
||||
|
@ -243,6 +243,7 @@ plugins:
|
|||
- jekyll-gist
|
||||
- jekyll-feed
|
||||
- jekyll-include-cache
|
||||
# - jekyll-seo
|
||||
|
||||
# mimic GitHub Pages with --safe
|
||||
whitelist:
|
||||
|
|
|
@ -1,84 +1,60 @@
|
|||
<!-- begin _includes/seo.html -->
|
||||
{%- if site.url -%}
|
||||
{%- 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 -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if seo_title -%}
|
||||
{%- assign seo_title = seo_title | markdownify | strip_html | strip_newlines | escape_once -%}
|
||||
{%- endif -%}
|
||||
|
||||
{% if page.canonical_url %}
|
||||
{%- assign canonical_url = page.canonical_url %}
|
||||
{% else %}
|
||||
{%- 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: '<br />', ' ' | 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: "@", "" -%}
|
||||
{%- 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" -%}
|
||||
{%- else -%}
|
||||
{%- assign og_type = "website" -%}
|
||||
{%- endif -%}
|
||||
|
||||
<title>{{ 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 %}</title>
|
||||
<meta name="description" content="{{ seo_description }}">
|
||||
|
||||
{% if author.name %}
|
||||
<meta name="author" content="{{ author.name | default: author }}">
|
||||
{% if og_type == "article" %}
|
||||
<meta property="article:author" content="{{ author.name | default: author }}">
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if og_type == "article" %}<meta property="article:author" content="{{ author.name | default: author }}">{% endif %}{% endif %}
|
||||
<meta property="og:type" content="{{ og_type }}">
|
||||
<meta property="og:locale" content="{{ site.locale | replace: "-", "_" | default: "en_US" }}">
|
||||
<meta property="og:site_name" content="{{ site.title }}">
|
||||
<meta property="og:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
|
||||
<meta property="og:url" content="{{ canonical_url }}">
|
||||
|
||||
{% if seo_description %}
|
||||
<meta property="og:description" content="{{ seo_description }}">
|
||||
{% endif %}
|
||||
|
||||
{% if seo_description %}<meta property="og:description" content="{{ seo_description }}">{% endif %}
|
||||
{% if page_large_image %}
|
||||
<meta property="og:image" content="{{ page_large_image }}">
|
||||
{% elsif page_teaser_image %}
|
||||
<meta property="og:image" content="{{ page_teaser_image }}">
|
||||
{% endif %}
|
||||
|
||||
{% if site.twitter.username %}
|
||||
<meta name="twitter:site" content="@{{ site.twitter.username | replace: "@", "" }}">
|
||||
<meta name="twitter:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
|
||||
<meta name="twitter:description" content="{{ seo_description }}">
|
||||
<meta name="twitter:url" content="{{ canonical_url }}">
|
||||
|
||||
{% if page_large_image %}
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:image" content="{{ page_large_image }}">
|
||||
|
@ -88,39 +64,31 @@
|
|||
<meta name="twitter:image" content="{{ page_teaser_image }}">
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if author_twitter %}
|
||||
<meta name="twitter:creator" content="@{{ author_twitter }}">
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if page.date %}
|
||||
<meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}">
|
||||
{% endif %}
|
||||
|
||||
{% if og_type == "article" and page.last_modified_at %}
|
||||
<meta property="article:modified_time" content="{{ page.last_modified_at | date_to_xmlschema }}">
|
||||
{% endif %}
|
||||
|
||||
{% if site.facebook %}
|
||||
{% if site.facebook.publisher %}
|
||||
<meta property="article:publisher" content="{{ site.facebook.publisher }}">
|
||||
{% endif %}
|
||||
|
||||
{% if site.facebook.app_id %}
|
||||
<meta property="fb:app_id" content="{{ site.facebook.app_id }}">
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
<link rel="canonical" href="{{ canonical_url }}">
|
||||
|
||||
{% if paginator.previous_page %}
|
||||
<link rel="prev" href="{{ paginator.previous_page_path | absolute_url }}">
|
||||
{% endif %}
|
||||
{% if paginator.next_page %}
|
||||
<link rel="next" href="{{ paginator.next_page_path | absolute_url }}">
|
||||
{% endif %}
|
||||
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
|
@ -136,7 +104,6 @@
|
|||
{% endif %}
|
||||
}
|
||||
</script>
|
||||
|
||||
{% if site.google_site_verification %}
|
||||
<meta name="google-site-verification" content="{{ site.google_site_verification }}" />
|
||||
{% endif %}
|
||||
|
@ -155,4 +122,3 @@
|
|||
{% if site.baidu_site_verification %}
|
||||
<meta name="baidu-site-verification" content="{{ site.baidu_site_verification }}">
|
||||
{% endif %}
|
||||
<!-- end _includes/seo.html -->
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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/
|
||||
<!-- link: https://www.codeninjas.co.uk/langley-brk-uk/camps/become-a-youtuber -->
|
||||
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:
|
|||
<div class="w3-margin">
|
||||
{{camp.dates}}
|
||||
</div>
|
||||
{% if camp.ended %}
|
||||
<p class="w3-text-red">CAMP CONCLUDED</p>
|
||||
{% endif %}
|
||||
<a class="btn btn-success" href="{{camp.link}}">Learn More</a> <button class="btn btn-success" onclick="document.getElementsByName('{{camp.name}}')[0].style.display='block'" href="{{camp.link}}"><i class="fa fa-video"></i></button>
|
||||
|
||||
<div name="{{camp.name}}" class="w3-modal">
|
||||
<div class="w3-modal-content">
|
||||
<div class="w3-container">
|
||||
|
|
|
@ -3,35 +3,40 @@ layout: default
|
|||
title: Privacy Policy
|
||||
permalink: /privacy-policy/
|
||||
comments: false
|
||||
w3: true
|
||||
---
|
||||
|
||||
### Information that is gathered from visitors
|
||||
<div class="text-center w3-padding-16">
|
||||
<h1>Privacy Policy</h1>
|
||||
</div>
|
||||
|
||||
<div class="w3-content">
|
||||
<h2>Information that is gathered from visitors</h2>
|
||||
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
|
||||
<h2>How the Information is used</h2>
|
||||
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
|
||||
|
||||
<h2>Visitor Options</h2>
|
||||
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
|
||||
<h2>Cookies</h2>
|
||||
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
|
||||
<h2>Google Ads</h2>
|
||||
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.
|
||||
|
||||
</div>
|
|
@ -17,6 +17,7 @@ w3: true
|
|||
<h2 class="w3-center w3-bolder" style="font-weight: 1000;">CODE NINJAS</h2>
|
||||
<h1 class="w3-center w3-jumbo w3-bolder" style="font-weight: 1000;font-size:8vw;;"> <span style="color:teal">CREATE</span></h1>
|
||||
<p class="w3-large">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.</p>
|
||||
<a class="btn btn-success" href="https://www.codeninjas.co.uk/langley-brk-uk/create">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -30,6 +31,7 @@ w3: true
|
|||
<div class="w3-col m6 w3-padding-large">
|
||||
<img src="https://www.codeninjas.co.uk/assets/img/programs/jr/cn-jr.jpg" class="w3-round w3-image" alt="Table Setting" width="600" height="400">
|
||||
</div>
|
||||
<a class="btn btn-success w3-margin" href="https://www.codeninjas.co.uk/langley-brk-uk/jr">Learn More</a>
|
||||
|
||||
</div>
|
||||
|
||||
|
@ -42,6 +44,7 @@ w3: true
|
|||
|
||||
<h1 class="w3-center w3-jumbo w3-bolder" style="font-weight: 1000;font-size:8vw;;"><span style="color:teal">CAMPS</span></h1>
|
||||
<p class="w3-large">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.</p>
|
||||
<a class="btn btn-success" href="/camps">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue