Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Site settings
title: Twenty Blog
title: ScienceHub
email: your-email@domain.com
description: > # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
Expand Down
11 changes: 11 additions & 0 deletions _includes/banner-explore.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

<!-- Banner -->
<section id="banner">

<h2>What I cannot <strong>create</strong>,
<br />
I do not <strong>understand</strong>.
</h2>
<p>~ Richard Feynman</p>

</section>
13 changes: 13 additions & 0 deletions _includes/banner-post.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!-- Banner -->
<section id="banner">

<div class="inner">

<header>
<h2>{{ page.title }}</h2>
</header>
<p class="post-meta">{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p>

</div>

</section>
12 changes: 12 additions & 0 deletions _includes/banner-subject.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!-- Banner -->
<section id="banner">

<div class="inner">

<header>
<h2>{{ page.title }}</h2>
</header>

</div>

</section>
2 changes: 1 addition & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<footer id="footer">

<ul class="icons">
<li><a href="#" class="icon circle fa-twitter"><span class="label">Twitter</span></a></li>
<li><a href="https://twitter.com/the_ScienceHub" class="icon circle fa-twitter"><span class="label">Twitter</span></a></li>
<li><a href="#" class="icon circle fa-google-plus"><span class="label">Google+</span></a></li>
<li><a href="https://github.com/science-station/website" class="icon circle fa-github"><span class="label">Github</span></a></li>
</ul>
Expand Down
4 changes: 4 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
<script src="/js/skel.min.js"></script>
<script src="/js/skel-layers.min.js"></script>
<script src="/js/init.js"></script>
<!-- Script pointing to jekyll-search.js -->
<script src="/bower_components/simple-jekyll-search/dest/jekyll-search.js" type="text/javascript"></script>

<noscript>
<link rel="stylesheet" href="/css/skel.css" />
<link rel="stylesheet" href="/css/style.css" />
Expand All @@ -28,4 +31,5 @@
<meta name="viewport" content="width=device-width">

<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
</head>
23 changes: 21 additions & 2 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
<!-- HTML for headers on all pages. -->

<header id="header">
<h1 id="logo"><a href="/">ScienceHub <span>by Science Station</span></a></h1>
<nav id="nav">

<!-- Left side of header. -->
<div>
<!-- Logo with link. -->
<img src="/logos/logo-simple.svg" width="28px" height="28px" style="float:left">

<!-- Spacing between logo and title. -->
<span style="float:left; height:10px; width:10px"></span>

<!-- Sciencehub title. -->
<a href="/">
<h1 id="logo"><span>ScienceHub</span></h1>
</a>

</div>

<!-- Navigation tabs. -->
<nav id="nav">
<ul>
<li><a href="/">Welcome</a></li>
<li><a href="/explore.html">Explore</a></li>
Expand All @@ -9,4 +27,5 @@ <h1 id="logo"><a href="/">ScienceHub <span>by Science Station</span></a></h1>

</ul>
</nav>

</header>
8 changes: 8 additions & 0 deletions _includes/subject-post.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<li class="wrapper {% if forloop.first %} style2 {% else %} style1 {% endif %}">
<h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
{{ post.excerpt }}
<section class="special">
<ul class="buttons">
<li><a href="{{ post.url }}" class="button">Read more</a></li>
</ul></section>
</li>
1 change: 1 addition & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<body class="no-sidebar">

{% include header.html %}

<div class="page-content">
{{ content }}
</div>
Expand Down
19 changes: 19 additions & 0 deletions _layouts/explore.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>

{% include head.html %}

<body class="index">

{% include header.html %}
{% include banner-explore.html %}

<div class="page-content">
{{ content }}
</div>

{% include footer.html %}

</body>

</html>
3 changes: 1 addition & 2 deletions _layouts/post.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
layout: default
---

<article id="main">
<article id="main">
<header class="special container">
<h2 class="post-title">{{ page.title }}</h2>
<p class="post-meta">{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
Expand Down
16 changes: 16 additions & 0 deletions _layouts/subject.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>

{% include head.html %}

<body class="no-sidebar">

{% include header.html %}

{{ content }}

{% include footer.html %}

</body>

</html>
1 change: 1 addition & 0 deletions _posts/2014-10-29-morbi-a-semper.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
layout: post
title: "Morbi a Semper"
date: 2014-08-31 14:36:23
category: physics
---

<span class="image featured"><img src="/images/pic03.jpg" alt=""></span>
Expand Down
1 change: 1 addition & 0 deletions _posts/2016-2-23-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
layout: post
title: "Test Post"
date: 2016-02-23 19:56:00
category: physics
---
<span class="image featured"><img src="/images/pic05.png" alt=""></span>
If we consider that part of the theory of relativity which may nowadays in
Expand Down
36 changes: 36 additions & 0 deletions bower_components/simple-jekyll-search/.bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"name": "simple-jekyll-search",
"version": "1.1.1",
"homepage": "http://christian-fei.github.io/Simple-Jekyll-Search/",
"authors": [
"Christian Fei"
],
"description": "Simple Jekyll site search using javascript and json",
"main": "dest/jekyll-search.js",
"keywords": [
"search",
"jekyll",
"javascript",
"json",
"simple"
],
"license": "MIT",
"ignore": [
"*",
"!dest/jekyll-search.js",
"!README.md"
],
"moduleType": [
"globals"
],
"_release": "1.1.1",
"_resolution": {
"type": "version",
"tag": "v1.1.1",
"commit": "5b9f6cb65bf5546a28430e79b80970dd9b66d72e"
},
"_source": "git://github.com/christian-fei/Simple-Jekyll-Search.git",
"_target": "~1.1.1",
"_originalSource": "simple-jekyll-search",
"_direct": true
}
Loading