Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
nlhmnlhmnlhm authored Dec 1, 2024
0 parents commit 2db2714
Show file tree
Hide file tree
Showing 6 changed files with 156 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
_site
.sass-cache
.jekyll-metadata
Gemfile.lock
24 changes: 24 additions & 0 deletions 404.html
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>
3 changes: 3 additions & 0 deletions Gemfile
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
21 changes: 21 additions & 0 deletions TEMPLATE-LICENSE.txt
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.
39 changes: 39 additions & 0 deletions _config.yml
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
65 changes: 65 additions & 0 deletions index.html
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 %}

0 comments on commit 2db2714

Please sign in to comment.