Skip to content
This repository was archived by the owner on Oct 4, 2023. It is now read-only.

Commit d06a21e

Browse files
author
Michael Lange
committed
Theme: Strip previous theme and replace with very basic bootstrap
1 parent 6f53401 commit d06a21e

File tree

3 files changed

+18
-85
lines changed

3 files changed

+18
-85
lines changed

_config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
# Site wide configuration
22

33
title: Open Performance-portablE SeismiC Imaging
4+
45
description: Open Performance portablE SeismiC Imaging
6+
57
logo: images/OpesciLogo-twitter-summary-card.png # 120x120 px default image used for Twitter summary card
8+
69
teaser: images/OpesciLogo-teaser.png # 400x250 px default teaser image used in image archive grid
10+
711
locale:
12+
813
baseurl:
14+
915
production_url : http://opesci.org
1016

1117
# Jekyll configuration

_includes/header.html

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,2 @@
1-
<header id="masthead">
2-
<div class="inner-wrap">
3-
<a href="{{ site.url }}">
4-
<img id="homelogo" src="images/Opesci.Logo.W.png">
5-
</a>
6-
<!-- <nav role="navigation" class="menu top-menu">
7-
{% include navigation.html %}
8-
</nav> -->
9-
</div><!-- /.inner-wrap -->
10-
</header><!-- /.masthead -->
1+
<header>
2+
</header>

_layouts/default.html

Lines changed: 10 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -2,92 +2,27 @@
22
<html>
33
<head>
44
<meta charset="utf-8">
5-
<title>{% if page.title %}{{ page.title }} • {% endif %}{{ site.title }}</title>
6-
{% if page.excerpt %}<meta name="description" content="{{ page.excerpt | strip_html }}">{% endif %}
7-
{% if page.tags %}<meta name="keywords" content="{{ page.tags | join: ', ' }}">{% endif %}
8-
{% if page.author %}
9-
{% assign author = site.data.authors[page.author] %}{% else %}{% assign author = site.owner %}
10-
{% endif %}
11-
{% include open-graph.html %}
12-
{% if author.google.plus %}<link rel="author" href="https://plus.google.com/{{ author.google.plus }}"/>{% endif %}
13-
14-
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.url }}">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
157

16-
<link href="{{ site.url }}/atom.xml" type="application/atom+xml" rel="alternate" title="{{ site.title }} Atom Feed">
17-
<link href="{{ site.url }}/sitemap.xml" type="application/xml" rel="sitemap" title="Sitemap">
8+
<title>{% if page.title %}{{ page.title }} • {% endif %}{{ site.title }}</title>
189

19-
<meta name="HandheldFriendly" content="True">
20-
<meta name="MobileOptimized" content="320">
21-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
22-
<meta http-equiv="cleartype" content="on">
10+
<meta name="author" content="{{ site.author.name }}" />
2311

24-
<style>
25-
.sliding-menu-content {
26-
top: 0;
27-
right: 0;
28-
text-align: center;
29-
visibility: hidden;
30-
height: 100%;
31-
width: 100%;
32-
-webkit-transform: translateX(100%);
33-
-moz-transform: translateX(100%);
34-
-ms-transform: translateX(100%);
35-
-o-transform: translateX(100%);
36-
transform: translateX(100%);
37-
}
38-
</style>
12+
{% if page.subtitle %}
13+
<meta name="description" content="{{ page.subtitle }}">
14+
{% endif %}
3915

40-
<link rel="stylesheet" href="{{ site.url }}/css/main.css">
41-
<!-- HTML5 Shiv and Media Query Support for IE -->
42-
<!--[if lt IE 9]>
43-
<script src="{{ site.url }}/js/vendor/html5shiv.min.js"></script>
44-
<script src="{{ site.url }}/js/vendor/respond.min.js"></script>
45-
<![endif]-->
16+
<!-- Bootstrap core CSS -->
17+
<link href="/css/bootstrap.min.css" rel="stylesheet">
4618

4719
</head>
4820

4921
<body>
5022

51-
{% include google_analytics.html %}
5223
{% include header.html %}
53-
{% include navigation-sliding.html %}
54-
<div id="topbannerpicture">
55-
<img src="images/seismic_banner.png">
56-
</div>
5724

58-
<div id="page-wrapper">
59-
{% include browser-upgrade.html %}
60-
61-
{{ content }}
62-
63-
{% include footer.html %}
64-
</div>
65-
66-
<script src="{{ site.url }}/js/vendor/jquery-1.9.1.min.js"></script>
67-
<script src="{{ site.url }}/js/main.js"></script>
68-
69-
{% if page.toc == true %}
70-
<script type="text/javascript">
71-
$('.toc').toc({
72-
'selectors': 'h2', //elements to use as headings
73-
'container': '.page-content', //element to find all selectors in
74-
'smoothScrolling': true, //enable or disable smooth scrolling on click
75-
'prefix': 'toc', //prefix for anchor tags and class names
76-
'onHighlight': function(el) {}, //called when a new section is highlighted
77-
'highlightOnScroll': true, //add class to heading that is currently in focus
78-
'highlightOffset': 100, //offset to trigger the next headline
79-
'anchorName': function(i, heading, prefix) { //custom function for anchor name
80-
return prefix+i;
81-
},
82-
'headerText': function(i, heading, $heading) { //custom function building the header-item text
83-
return $heading.text();
84-
},
85-
'itemClass': function(i, heading, $heading, prefix) { //custom function for item class
86-
return $heading[0].tagName.toLowerCase();
87-
}
88-
});
89-
</script>
90-
{% endif %}
25+
{{ content }}
9126

9227
</body>
9328

0 commit comments

Comments
 (0)