Skip to content

Commit

Permalink
Switch to plain html
Browse files Browse the repository at this point in the history
  • Loading branch information
jpellman committed Feb 11, 2024
1 parent fb4187d commit 94ec726
Show file tree
Hide file tree
Showing 61 changed files with 131 additions and 3,048 deletions.
53 changes: 0 additions & 53 deletions README.txt

This file was deleted.

17 changes: 11 additions & 6 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
# Site settings
permalink: /:title/
plugins:
- jekyll-sitemap

title: John Pellman - Systems Administrator
email: [email protected]
description: > # this means to ignore newlines until "baseurl:"
url: "https://libjpel.so"
baseurl: "" # the subpath of your site, e.g. /blog/
description: > # this means to ignore newlines until next key
Greetings! My name is John Pellman. I am a system administrator / cognitive science geek in Manhattan. My interests lie at the intersection of science and IT, with a particular focus on how technology can facilitate progress in our understanding of the world and improve the human races quality of life.
In our contemporary, post-industrial age a pervasive fear has arisen that, with increased automation, technology will replace the need for humanity. I believe that technology cannot replace humanity, and that this perspective that humans can be replaced should be discarded for a healthier view in which society perceives technology as a tool to accompany cognition rather than a stand-in for expertise and wisdom. Technology (as a tool) should be used to enable and ennoble humanity, augmenting our natural abilities just as previous tools such as hammers, quills, glasses, and printing presses have augmented us in the past. In my role as a technical professional, I would like to serve to help society leverage technology to make the world a better place. In brief, I like to bring a humanistic perspective to my work.
baseurl: "" # the subpath of your site, e.g. /blog/
email: [email protected]
url: "https://libjpel.so"
github_username: jpellman

# Build settings
timezone: America/New_York
google_analytics_tracking_id: UA-39520634-1

markdown: kramdown
18 changes: 0 additions & 18 deletions _includes/banner.html

This file was deleted.

23 changes: 14 additions & 9 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
<!-- Footer -->
<footer id="footer">
<ul>
Disclaimer: Posts are subject to amendment at any time and live in a state of "perpetual beta". Revision histories may be viewed in full <a href=https://github.com/jpellman/jpellman.github.io/tree/master>here</a>. Timestamps reflect the initial publish date.
</ul>
<ul class="copyright">
&copy; 2017-2020 John Pellman
<br><br>Design: <a href="http://html5up.net">HTML5 UP</a>
</ul>
<footer>

<hr />
<table width="100%" border="0">
<tb>
<tr>This page online <code>{{ site.url }}{{ page.url }}</code></tr>
<tr>
<td>
<a href="/"><em>{{ site.author }}</em></a> &middot; <a href="mailto:{{ site.email }}"><em>{{ site.email }}</em></a>
</td>
<td align="right">Last updated: {{ page.updated }}</td>
</tr>
</tb>
</table>

</footer>
10 changes: 10 additions & 0 deletions _includes/google_analytics.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{% if site.google_analytics_tracking_id %}
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics_tracking_id }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', '{{ site.google_analytics_tracking_id }}');
</script>
{% endif %}
10 changes: 0 additions & 10 deletions _includes/googleanalytics.html

This file was deleted.

54 changes: 14 additions & 40 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -1,43 +1,17 @@
<!--
Twenty by HTML5 UP
html5up.net | @n33co
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->

<head>
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="{{ site.description }}">
<meta name="keywords" content="" />
<!--[if lte IE 8]><script src="css/ie/html5shiv.js"></script><![endif]-->
<script src="/js/jquery.min.js"></script>
<script src="/js/jquery.dropotron.min.js"></script>
<script src="/js/jquery.scrolly.min.js"></script>
<script src="/js/jquery.scrollgress.min.js"></script>
<script src="/js/skel.min.js"></script>
<script src="/js/skel-layers.min.js"></script>
<script src="/js/init.js"></script>
<!-- Randomize the banner image. -->
<script type="text/javascript">
$(document).ready(function() {

var bgArray = ['16235164339_bdb41bab03_k.jpg','2588658514_2fa1a84d5a_o.jpg','2685837873_56fbe72ca6_b.jpg','2851998560_0056570bb1_b.jpg','28622028893_596d292bb4_k.jpg','4425639583_4446f531eb_b.jpg','5029340037_d4e2c05d1b_b.jpg','5171610271_89482b1e99_b.jpg','5171619837_3cd9897e1e_b.jpg','8087497990_a89b3de62b_k.jpg','8940160375_330b533d52_k.jpg'];
var bg = bgArray[Math.floor(Math.random() * bgArray.length)];

// then you can put it right before the variable 'bg'
$('#banner').css('background-image','url("css/images/light-bl.svg"), url("css/images/light-br.svg"), url("css/images/overlay.png"), url("images/banners/' + bg + '")');

});
</script>
<noscript>
<link rel="stylesheet" href="/css/skel.css" />
<link rel="stylesheet" href="/css/style.css" />
<link rel="stylesheet" href="/css/style-wide.css" />
<link rel="stylesheet" href="/css/style-noscript.css" />
</noscript>
<!--[if lte IE 8]><link rel="stylesheet" href="/css/ie/v8.css" /><![endif]-->
<!--[if lte IE 9]><link rel="stylesheet" href="/css/ie/v9.css" /><![endif]-->
<meta name="viewport" content="width=device-width">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.author | escape }}{% endif %} &raquo; {{ site.title }}</title>
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">

<!-- "CSS - ain't nobody got time for that" -->
<style type="text/css"></style>

<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}">

<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<!-- Icon stuff -->
<link rel="shortcut icon" href="{{ site.github.url }}/images/favicon.ico">
</head>
52 changes: 13 additions & 39 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -1,39 +1,13 @@
<header id="header">
<h1 id="logo"><a href="/">JOHN PELLMAN</a></h1>
<nav id="nav">
<ul>
<li><a href="/">Home</a></li>
<li><a href="/about.html">About Me</a></li>
<li><a href="/projects.html">Projects</a></li>
<li><a href="https://wiki.libjpel.so/">Wiki</a></li>
<li><a href="https://stars.libjpel.so/">GitHub Stars</a></li>
<!-- Maybe someday...
<li><a href="/vr/index.html">VR</a></li>
-->
<li><a href="http://www.github.com/jpellman" class="icon fa-github"><span class="label">Github</span></a></li>
<li><a href="http://www.linkedin.com/pub/john-pellman/37/4b/357/" class="icon fa-linkedin"><span class="label">LinkedIn</span></a></li>
<!--
<li class="submenu">
<a href="">Layouts</a>
<ul>
<li><a href="/left-sidebar.html">Left Sidebar</a></li>
<li><a href="/right-sidebar.html">Right Sidebar</a></li>
<li><a href="/no-sidebar.html">No Sidebar</a></li>
<li><a href="/contact.html">Contact</a></li>
<li class="submenu">
<a href="">Submenu</a>
<ul>
<li><a href="#">Dolore Sed</a></li>
<li><a href="#">Consequat</a></li>
<li><a href="#">Lorem Magna</a></li>
<li><a href="#">Sed Magna</a></li>
<li><a href="#">Ipsum Nisl</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#" class="button special">Sign Up</a></li>
--!>
</ul>
</nav>
</header>
<header>

<h1>{{ site.author }}'s personal site</h1>
<p>
<a href="{{ site.baseurl }}/">Home</a> &middot;
<a href="{{ site.baseurl }}/essays">Essays</a> &middot;
<a href="{{ site.baseurl }}/tutorials">Tutorials</a> &middot;
<a href="{{ site.baseurl }}/about">About</a> &middot;
<a href="{{ site.baseurl }}/contact">Contact</a>
</p>
<hr />

</header>
11 changes: 3 additions & 8 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,13 @@
<html>

{% include head.html %}
{% include google_analytics.html %}

<body class="index">
<body>

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

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

{{ content }}
{% include footer.html %}
{% include googleanalytics.html %}

</body>

Expand Down
15 changes: 5 additions & 10 deletions _layouts/page.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
---
layout: default
---
<article>

<article id="main">
<header class="special container">
<h2 class="post-title">{{ page.title }}</h2>
<header>
<h1>{{ page.title }}</h1>
</header>

<section class="style4 wrapper container">
<center>
{{ content }}
</center>
</section>

</article>
{{ content }}

</article>
77 changes: 46 additions & 31 deletions _layouts/post.html
Original file line number Diff line number Diff line change
@@ -1,38 +1,53 @@
---
layout: default
---
<article>

<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>
<header>
<h1>{{ page.title }}</h1>
<p>
<span>By {{ site.author }}</span>
<time>&middot; {{ page.date | date: "%b %-d, %Y" }}</time>
</p>
</header>

<section class="style4 wrapper container">
{{ content }}
</section>

<footer>
{% if page.previous %}
<a href="{{ page.previous.url }}" class="post-prev">&larr; Previous post</a> {% endif %}
{% if page.next %}
<a href="{{ page.next.url }}" class="post-next">Next post &rarr;</a> {% endif %}
</footer>
{% if page.comments %}
<br>
<br>
<section class="style4 wrapper container">
<div id="disqus_thread"></div>
<script>
(function() { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = 'https://libjpel.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
</section>
{% endif %}
</article>
{{ content }}

{% assign cat = page.category | downcase %}
{% for post in site.categories[cat] %}
{% if post.url == page.url %}
{% assign post_index0 = forloop.index0 %}
{% assign post_index1 = forloop.index %}
{% endif %}
{% endfor %}
{% for post in site.categories[cat] %}
{% if post_index0 == forloop.index %}
{% assign next_post = post %}
{% endif %}
{% if post_index1 == forloop.index0 %}
{% assign prev_post = post %}
{% endif %}
{% endfor %}

<table width="100%" border="0">
<tb>
<tr>
{% if prev_post %}
<td><b>Previous</b></td>
{% endif %}
{% if next_post %}
<td align="right"><b>Next</b></td>
{% endif %}
</tr>
<tr>
{% if prev_post %}
<td><a href="{{ prev_post.url }}">{{ prev_post.title | strip_html | truncate: 30}}</a></td>
{% endif %}
{% if next_post %}
<td align="right"><a href="{{ next_post.url }}">{{ next_post.title | strip_html | truncate: 30}}</a></td>
{% endif %}
</tr>
</tb>
</table>

</article>
File renamed without changes.
Loading

0 comments on commit 94ec726

Please sign in to comment.