-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 2db2714
Showing
6 changed files
with
156 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
_site | ||
.sass-cache | ||
.jekyll-metadata | ||
Gemfile.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
<style type="text/css" media="screen"> | ||
.container { | ||
margin: 10px auto; | ||
max-width: 600px; | ||
text-align: center; | ||
} | ||
h1 { | ||
margin: 30px 0; | ||
font-size: 4em; | ||
line-height: 1; | ||
letter-spacing: -1px; | ||
} | ||
</style> | ||
|
||
<div class="container"> | ||
<h1>404</h1> | ||
|
||
<p><strong>Page not found :(</strong></p> | ||
<p>The requested page could not be found.</p> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
source "https://rubygems.org" | ||
|
||
gem "github-pages", "~> 214", group: :jekyll_plugins |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2015 Mathieu Mayer-Mazzoli | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Title of your blog; shows in the header | ||
name: "nlhm's blog" | ||
title: "nlhm's blog" | ||
|
||
# Description of your content (will only be used on Google Search) | ||
description: "nlhm's incomplete thoughts" | ||
|
||
# Your name. Will show in your footer + sidebar | ||
author: "nlhm" | ||
|
||
url: "https://nlhmnlhmnlhm.github.io" | ||
baseurl: "" | ||
|
||
# A short presentation of yourself. Will show in the sidebar, under your name. Best usage would be between 30 to 50 words. | ||
author-bio: "" | ||
|
||
# Google Analytics (you may want to changes these with yours or even delete :) | ||
|
||
# ga_domain: TBD | ||
# ga_tracking_id: TBD | ||
|
||
# Other (refer to http://jekyllrb.com/docs/home/ for further details on the below) | ||
|
||
markdown: kramdown | ||
permalink: pretty | ||
plugins: | ||
- jekyll-paginate | ||
- jekyll-feed | ||
|
||
paginate: 10 | ||
paginate_path: "/page/:num" | ||
|
||
# SCSS | ||
|
||
sass: | ||
sass_dir: _scss | ||
style: compressed | ||
|
||
future: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
--- | ||
layout: default | ||
title: Homepage | ||
--- | ||
|
||
<div id="home"> | ||
<div class="feed-msg"> | ||
<i class="author-bio"> | ||
20. A student interested in science but struggling with it. Sometimes does | ||
art. (Rarely writes in the 3rd person.) <br /> | ||
</i> | ||
</div> | ||
|
||
<ul class="posts"> | ||
{% for post in paginator.posts %} | ||
<li itemscope itemtype="http://schema.org/BlogPosting"> | ||
<a href="{{ site.baseurl }}{{ post.url }}" itemprop="url" target="_self"> | ||
<div class="p-wrap"> | ||
<article class="inner"> | ||
<time | ||
datetime="{{ post.date | date_to_xmlschema }}" | ||
itemprop="datePublished" | ||
> | ||
{% if post.priority-tag %} {{ post.priority-tag }} {% else %} | ||
<span class="priority">{{ post.priority }}</span> | ||
{% endif %} - {{ post.date | date_to_string }} | ||
</time> | ||
<p itemprop="name headline">{{ post.title }}</p> | ||
</article> | ||
</div> | ||
</a> | ||
</li> | ||
{% endfor %} {% assign psize = site.posts | size %} {% if psize == 0 %} | ||
<div style="text-align: center; padding-top: 5em"> | ||
<h2>No writeups yet. ¯\_(ツ)_/¯</h2> | ||
</div> | ||
{% endif %} | ||
</ul> | ||
</div> | ||
|
||
{% if paginator.total_pages > 1 %} | ||
<div class="pagination"> | ||
{% if paginator.next_page %} | ||
<a | ||
href="{{ site.baseurl }}/page/{{paginator.next_page}}" | ||
class="older" | ||
target="_self" | ||
>Older</a | ||
> | ||
{% else %} | ||
<span class="next">Older</span> | ||
{% endif %} {% if paginator.previous_page %} {% if paginator.page == 2 %} | ||
<a href="{{ site.baseurl }}/" class="newer" target="_self">Newer</a> | ||
{% else %} | ||
<a | ||
href="{{ site.baseurl }}/page/{{paginator.previous_page}}" | ||
class="newer" | ||
target="_self" | ||
>Newer</a | ||
> | ||
{% endif %} {% else %} | ||
<span class="previous">Newer</span> | ||
{% endif %} | ||
</div> | ||
{% endif %} |