Skip to content

Commit

Permalink
Update to use jekyll, there should be no content changes only cosmetic.
Browse files Browse the repository at this point in the history
Remove /home and use /
Fixed the URLs above to / instead of /home
Remove robots.txt
Remove a/ page since not used
Remove CSS not used and replace with empty file
Moved to assets for CSS
Fixed some double space in text and src attributes
Update font awesome to latest, and CSS icon font name and update CSS classes.
Add in abbr for terms
  • Loading branch information
genderedie committed Aug 7, 2020
1 parent 044826a commit 27ebcae
Show file tree
Hide file tree
Showing 45 changed files with 3,015 additions and 7,477 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
_site
.sass-cache
.jekyll-cache
.jekyll-metadata
vendor
9 changes: 9 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
permalink: /404.html
layout: default
---

<h1>404</h1>

<p><strong>Page not found :(</strong></p>
<p>The requested page could not be found.</p>
32 changes: 32 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
source "https://rubygems.org"
# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll", "~> 4.1.1"
# This is the default theme for new Jekyll sites. You may change this to anything you like.
gem "minima", "~> 2.5"
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
# gem "github-pages", group: :jekyll_plugins
# If you have any plugins, put them here!
group :jekyll_plugins do
gem "jekyll-feed", "~> 0.12"
gem 'jekyll-sitemap'
gem 'jekyll-seo-tag'
end

# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
platforms :mingw, :x64_mingw, :mswin, :jruby do
gem "tzinfo", "~> 1.2"
gem "tzinfo-data"
end

# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]

84 changes: 84 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
colorator (1.1.0)
concurrent-ruby (1.1.6)
em-websocket (0.5.1)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
eventmachine (1.2.7)
ffi (1.13.1)
forwardable-extended (2.6.0)
http_parser.rb (0.6.0)
i18n (1.8.5)
concurrent-ruby (~> 1.0)
jekyll (4.1.1)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (~> 2.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.1)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.4.0)
pathutil (~> 0.9)
rouge (~> 3.0)
safe_yaml (~> 1.0)
terminal-table (~> 1.8)
jekyll-feed (0.15.0)
jekyll (>= 3.7, < 5.0)
jekyll-sass-converter (2.1.0)
sassc (> 2.0.1, < 3.0)
jekyll-seo-tag (2.6.1)
jekyll (>= 3.3, < 5.0)
jekyll-sitemap (1.4.0)
jekyll (>= 3.7, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.3.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
listen (3.2.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
minima (2.5.1)
jekyll (>= 3.5, < 5.0)
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (4.0.5)
rb-fsevent (0.10.4)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.4)
rouge (3.21.0)
safe_yaml (1.0.5)
sassc (2.4.0)
ffi (~> 1.9)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
unicode-display_width (1.7.0)

PLATFORMS
ruby

DEPENDENCIES
jekyll (~> 4.1.1)
jekyll-feed (~> 0.12)
jekyll-seo-tag
jekyll-sitemap
minima (~> 2.5)
tzinfo (~> 1.2)
tzinfo-data
wdm (~> 0.1.1)

BUNDLED WITH
1.16.1
57 changes: 56 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
@@ -1 +1,56 @@
theme: jekyll-theme-minimal
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely edit after that. If you find
# yourself editing this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
#
# If you need help with YAML syntax, here are some quick references for you:
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
# https://learnxinyminutes.com/docs/yaml/
#
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.

title: GenderEd.ie
email: [email protected]
description: >- # this means to ignore newlines until "baseurl:"
This is an online education programme aimed at supporting adult family members of transgender young people (less than 18 years of age) in the Republic of Ireland.
baseurl: "" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g. http://example.com
twitter_username: jekyllrb
github_username: jekyll
google_analytics: UA-174912757-1

# Build settings
theme: minima
plugins:
- jekyll-feed
- jekyll-seo-tag
- jekyll-sitemap

# Exclude from processing.
# The following items will not be processed, by default.
# Any item listed under the `exclude:` key here will be automatically added to
# the internal "default list".
#
# Excluded items can be processed by explicitly listing the directories or
# their entries' file path in the `include:` list.
#
# exclude:
# - .sass-cache/
# - .jekyll-cache/
# - gemfiles/
# - Gemfile
# - Gemfile.lock
# - node_modules/
# - vendor/bundle/
# - vendor/cache/
# - vendor/gems/
# - vendor/ruby/
12 changes: 12 additions & 0 deletions _includes/abbr.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
*[TENI]: Transgender Equality Network Ireland
*[LGBTQ]: Lesbian, Gay, Bisexual, Transgender, and Queer
*[LGBT]: Lesbian, Gay, Bisexual and Transgender
*[GLBT]: Gay, Lesbian, Bisexual and Transgender
*[HSE]: Health Service Executive
*[HIV]: Human Immunodeficiency Viruses
*[APA]: American Psychological Association
*[FtM]: Female-to-Male
*[CAMHS]: Child and Adolescent Mental Health Services
*[GIDS]: Gender Identity Development Services
*[TAS]: Treatment Abroad Scheme
*[GP]: General Practitioner
4 changes: 4 additions & 0 deletions _includes/module.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<div data-breadcrumb-number="{{ include.number }}" class="main-module-content {% if include.no_arrows %}module-no-arrows{% endif %} {% if include.active %}content-active{% endif %}" markdown="1">
{{ include.content }}
{% include abbr.html %}
</div>
14 changes: 14 additions & 0 deletions _includes/next.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<div class="arrow-holder">
<a class="main-arrows arrow-active next-arrow" href="#Next"><i class="fa fa-chevron-right fa-5x"></i></a>
</div>

<div class="mobile-arrows">
<a href="#prev" class="prev-arrow prev-arrow-mobile main-arrows">
<i class="fa fa-chevron-left fa-5x"></i>
</a>

<a href="#next" class="next-arrow next-arrow-mobile main-arrows arrow-active">
<i class="fa fa-chevron-right fa-5x"></i>
</a>
</div>

4 changes: 4 additions & 0 deletions _includes/previous.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<div class="arrow-holder">
<a class="main-arrows prev-arrow" href="#Previous"><i class="fa fa-chevron-left fa-5x"></i></a>
</div>

84 changes: 51 additions & 33 deletions a/index.html → _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,36 +5,46 @@

<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">

<title>GenderEd.ie</title>

<!-- Bootstrap Core CSS -->
<link href="/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!--<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">-->

<!-- Theme CSS -->
<link href="/css/theme.css" rel="stylesheet" type="text/css">
<link href="/css/main.css" rel="stylesheet" type="text/css">
<link href="{{ "/assets/css/theme.css" | relative_url }}" rel="stylesheet" type="text/css">
<link href="{{ "/assets/css/main.css" | relative_url }}" rel="stylesheet" type="text/css">

<!-- Custom Fonts -->
<link href="/vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.14.0/css/all.css">
<!--<link href="/vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">-->
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic" rel="stylesheet" type="text/css">

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', '{{ site.google_analytics }}');
</script>

<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->

{% seo %}
</head>
<body id="page-top" class="index">





<!-- Navigation -->
<nav id="mainNav" class="navbar navbar-default navbar-fixed-top navbar-custom">
<div class="container">
Expand All @@ -44,7 +54,7 @@
<span class="sr-only">Toggle navigation</span> Menu <i class="fa fa-bars"></i>
</button>
<img class="top-logo" src="/img/logos/gender-ed-logo-small.jpg" />
<a class="navbar-brand" href="/home">GenderEd.ie</a>
<a class="navbar-brand" href="/">GenderEd.ie</a>
</div>

<!-- Collect the nav links, forms, and other content for toggling -->
Expand All @@ -54,8 +64,8 @@
<a href="#page-top"></a>
</li>

<li class="page-scroll ">
<a href="/home">home</a>
<li class="page-scroll active">
<a href="/">home</a>
</li>

<li class="page-scroll ">
Expand All @@ -78,8 +88,18 @@
<!-- /.container-fluid -->
</nav>





<section id="portfolio">
<div class="container normal-pages">

{{ content }}


</div>
</section>


<!-- Footer -->
<footer class="text-center">
<div class="footer-above">
Expand Down Expand Up @@ -148,28 +168,26 @@ <h3>About Trans Family</h3>
<a class="btn btn-primary" href="#page-top">
<i class="fa fa-chevron-up"></i>
</a>
</div> <!-- jQuery -->
<script src="/vendor/jquery/jquery.min.js"></script>
</div>

<!-- jQuery -->
<script src="/vendor/jquery/jquery-3.5.1.min.js"></script>

<!-- Bootstrap Core JavaScript -->
<script src="/vendor/bootstrap/js/bootstrap.min.js"></script>

<!-- Plugin JavaScript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js"></script>

<!-- Contact Form JavaScript -->
<script src="/js/jqBootstrapValidation.js"></script>
<script src="/js/contact_me.js"></script>

<script src="/js/mapResizer.min.js"></script>
<script>
$(document).ready(function() {
$('map').imageMapResize();
});
</script>

<script src="/js/gendered.js"></script>

</body>
<!--<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>-->

<script src="/js/mapResizer.min.js"></script>
<script>
$(document).ready(function() {
$('map').imageMapResize();
});
</script>
<script src="/js/gendered.js"></script>

</body>
</html>

16 changes: 16 additions & 0 deletions _layouts/home.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
layout: default
---

<div class="row">
<div class="col-lg-12 text-center">
<h2 class="main-module-titles">{{ page.title | escape }}</h2>

</div>
</div>

<div class="row">
<div class="col-lg-12">
{{ content }}
</div>
</div>
Loading

0 comments on commit 27ebcae

Please sign in to comment.