Skip to content

Commit

Permalink
Revert "Various optimisations. refs #16"
Browse files Browse the repository at this point in the history
This reverts commit f060892.
  • Loading branch information
bhush9 committed Aug 4, 2017
1 parent f060892 commit 4e1156f
Show file tree
Hide file tree
Showing 11 changed files with 6 additions and 35 deletions.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ gem "minima", "~> 2.0"
# If you have any plugins, put them here!
group :jekyll_plugins do
gem "jekyll-feed", "~> 0.6"
gem "jekyll-image_optimizer", "~> 1.2"
gem "jekyll-sitemap", "~> 1.1"
end

Expand Down
4 changes: 0 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ GEM
safe_yaml (~> 1.0)
jekyll-feed (0.9.2)
jekyll (~> 3.3)
jekyll-image_optimizer (1.2.2)
rmagick (~> 2.13)
jekyll-sass-converter (1.5.0)
sass (~> 3.4)
jekyll-sitemap (1.1.1)
Expand All @@ -41,7 +39,6 @@ GEM
rb-fsevent (0.9.8)
rb-inotify (0.9.8)
ffi (>= 0.5.0)
rmagick (2.16.0)
rouge (1.11.1)
safe_yaml (1.0.4)
sass (3.4.23)
Expand All @@ -52,7 +49,6 @@ PLATFORMS
DEPENDENCIES
jekyll (= 3.4.3)
jekyll-feed (~> 0.6)
jekyll-image_optimizer (~> 1.2)
jekyll-sitemap (~> 1.1)
minima (~> 2.0)
tzinfo-data
Expand Down
5 changes: 0 additions & 5 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ url: "https://halium.org" # the base hostname & protocol for your site, e.g. htt
twitter_username: haliumproject
github_username: halium

# Image resizing
raw_images: "img/raw"
opt_images: "img/optimised"
image_layout: "optimised_image.html"

# Build settings
markdown: kramdown
disqus:
Expand Down
5 changes: 2 additions & 3 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<header class="site-header">
<header class="site-header" role="banner">

<div class="wrapper">
{% assign default_paths = site.pages | map: "path" %}
Expand All @@ -10,8 +10,7 @@
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
<label for="nav-trigger">
<span class="menu-icon">
<span class="sr-only">Menu</span>
<svg viewBox="0 0 18 15" width="18px" height="15px" aria-hidden=true">
<svg viewBox="0 0 18 15" width="18px" height="15px">
<path fill="#424242" d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.031C17.335,0,18,0.665,18,1.484L18,1.484z"/>
<path fill="#424242" d="M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0c0-0.82,0.665-1.484,1.484-1.484 h15.031C17.335,6.031,18,6.696,18,7.516L18,7.516z"/>
<path fill="#424242" d="M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"/>
Expand Down
6 changes: 3 additions & 3 deletions _includes/twitter-card.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<!-- Twitter Card -->
<meta name="twitter:card" content="{% if page.twitter_image %}summary_large_image{% else %}summary{% endif %}">
<meta name="twitter:card" content="{% if page.image %}summary_large_image{% else %}summary{% endif %}">
<meta name="twitter:site" content="@{{ site.twitter_username }}">
<meta name="twitter:creator" content="@{{ site.twitter_username }}">
<meta name="twitter:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}">
<meta name="twitter:description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 200 }}{% else %}{{ site.description}}{% endif %}">
{% if page.twitter_image %}
<meta name="twitter:image:src" content="{{ page.twitter_image | prepend: site.baseurl | prepend: site.url }}">
{% if page.image %}
<meta name="twitter:image:src" content="{{ page.image | prepend: site.baseurl | prepend: site.url }}">
{% endif %}
<!-- End Twitter Card -->
1 change: 0 additions & 1 deletion _layouts/optimised_image.html

This file was deleted.

13 changes: 0 additions & 13 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -468,16 +468,3 @@ pre {
color: #008080; }
.highlight .il {
color: #099; }

/* Only visible for screen readers */
/* Taken from Twitter Bootstrap 3 */
.sr-only {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}
File renamed without changes
Binary file not shown.
5 changes: 1 addition & 4 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# See: https://jekyllrb.com/docs/themes/#overriding-theme-defaults
layout: home
title: "Halium Project"
image:
- url: architecture.png
alt: architecture
---

# Introduction
Expand Down Expand Up @@ -34,4 +31,4 @@ This project will not control the following higher level parts of the stack. Eac
- User interface
- Applications

{% image 0 %}
![architecture](img/architecture.png)
1 change: 0 additions & 1 deletion plugins/ext.rb

This file was deleted.

0 comments on commit 4e1156f

Please sign in to comment.