Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Past few days work on the blog #33

Open
wants to merge 7 commits into
base: gh-pages
Choose a base branch
from
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
61 changes: 6 additions & 55 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,60 +1,11 @@
# Researcher
# njoverton blog theme

### [Demo Website](http://ankitsultana.com/researcher)
Theme for personal blog, hosted on Cloudflare Pages.

A clean, single column, monospace resume template built for jekyll
## Credits

### Installation
Forked from [researcher](https://github.com/ankitsultana/researcher) and adjusted to look like [parchment](https://github.com/rhl-bthr/parchment).

Simply fork the repository and edit away.
## License

#### Installation via remote themes

* Just setting `remote_theme: ankitsultana/researcher@gem` in `_config.yml` should work. Although in that case, I am not sure how
you would build your site locally for testing. If you know how, open up an issue and let me know.
* For more info, [refer this](https://blog.github.com/2017-11-29-use-any-theme-with-github-pages/).

### Customization

* You can edit the `.md` (markdown) files as you see fit. You can also add some other markdown file, say `foo.md` in the root directory of the repository. It will then be accessible like so `{{ url of your website }}/foo`.

* You can of course remove `contact.md` if you don't want it

* To set the heading, edit the `title` variable in `_config.yml`

* To edit the `links` mentioned on the navigation bar, you can edit `_config.yml`. For example:

```
nav:
- name: "About"
link: "/researcher/"
- name: "Resume"
link: "resume.pdf"
- name: "Contact"
link: "contact"
```

* You can change the accent (color of hyperlinks) by editing the `accent` variable in `_sass/vars.scss`

* You can setup google analytics, by setting `tracking_id` in `_config.yml`

* To add a profile picture, make sure to give the image tag the class `profile-picture`. In other words,do it like so:

```html
<img class="profile-picture" src="sherlock.jpg">
```

* You can remove/customize the footer as you like by setting the
appropriate variables in `_config.yml`

* (New in v1.2.0) You can add institute logo at the top, by setting `ins_logo` in `_config.yml`. If you want
to adjust the logo's size, try setting `max-height` in `#ins-logo` in file `./_sass/_style.scss` to the desired
value

![Institute Logo Image Sample](https://github.com/ankitsultana/assets/raw/master/ins-logo-sample.png)

**Note:** Customizing the accent color might cause merge conflicts if you later try to merge from `bk2dcradle/researcher` to fetch updates/patches etc. (applicable only if you have forked).

### License

[GNU GPL v3](https://github.com/bk2dcradle/researcher/blob/gh-pages/LICENSE)
[GNU GPL v3](LICENSE)
33 changes: 22 additions & 11 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,35 @@
title: Researcher
url: "https://ankitsultana.com"
baseurl: "/researcher"
title: njoverton
url: "https://njoverton.com/"
baseurl: "/"
# Permalink configuration
permalink: /:title/

# Ensure posts are processed
future: true
# Base URL (important if you're hosting on GitHub Pages)
baseurl: ""

# Site URL (if different from baseurl)
url: ""


markdown: kramdown
#ins_logo: "./bits-logo.png"

tracking_id: #

footer: yes
footer_url: "https://github.com/ankitsultana"
footer_text: "Page design by Ankit Sultana"
footer_url: "https://github.com/njoverton"
footer_text: "Terms and conditions apply."

sass:
style: compressed
sass_dir: _sass

nav:
- name: "About"
link: "/researcher/"
- name: "Resume"
link: "resume.pdf"
- name: "Contact"
link: "contact"
- name: "pinboard"
link: "/pinboard/"
- name: "guestbook"
link: "/guestbook/"
- name: "about"
link: "/about/"
29 changes: 6 additions & 23 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,27 +31,6 @@
{% if site.twitter_username %}
<link rel="author" href="https://twitter.com/{{ site.twitter_username }}">
{% endif %}
<!-- Facebook Open Graph -->
<meta name="og:description" content="{{ desc }}">
<meta name="og:title" content="{{ site.title }}">
<meta name="og:url" content="{{ url }}">
<meta name="og:type" content="article">
{% if site.og_image %}
<meta name="og:image" content="{{ site.og_image }}">
{% endif %}
{% if site.facebook_id %}
<meta name="fb:admins" content="{{ site.facebook_id }}">
{% endif %}
<!-- Twitter -->
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="{{ site.title }}">
<meta name="twitter:description" content="{{ desc }}">
<meta name="twitter:url" content="{{ url }}">
{% if site.twitter_image %}
<meta name="twitter:image" content="{{ site.twitter_image }}">
{% else %}
<meta name="twitter:image" content="{{ site.profile_picture }}">
{% endif %}
</head>
<body>
<div class="wrapper">
Expand Down Expand Up @@ -83,8 +62,8 @@
{% endif %}
{{ content }}
{% if site.footer == true %}
<hr />
<p style="text-align: center; margin-bottom: 10px">
<hr>
<p style="text-align: center; margin-bottom: 16px; margin-top: 0">
<a href="{{ site.footer_url }}" style="color: black"><small>{{ site.footer_text }}</small></a>
</p>
{% endif %}
Expand All @@ -103,3 +82,7 @@
</body>
<footer>
</footer>

<!-- livereload functionality -->
<script src="http://127.0.0.1:35729/livereload.js"></script>

38 changes: 38 additions & 0 deletions _layouts/post.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
layout: default
---
{% if page.featured_image %}
<div class="featured-image">
<img src="{{ site.baseurl }}/{{ page.featured_image }}" alt="Featured image for {{ page.title }}">
</div>
{% endif %}
{% if page.featured_image %}
<figure>
{% if page.caption %}
<figcaption>{{ page.caption }}</figcaption>
{% endif %}
</figure>
{% endif %}
<article class="post">
<h1>{{ page.title }}</h1>
<time datetime="{{ page.date | date_to_xmlschema }}">
posted on {{ page.date | date: "%d %B %Y" }}
</time>

{% if page.tags %}
<div class="tags">
{% for tag in page.tags %}
<span class="tag">{{ tag }}</span>
{% endfor %}
</div>
{% endif %}

<div class="content">
<hr>
{{ content }}
</div>
</article>

<!-- livereload functionality -->
<script src="http://127.0.0.1:35729/livereload.js"></script>

62 changes: 62 additions & 0 deletions _posts/2018-10-20-markdown-posts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
layout: post
title: Or maybe Markdown
subtitle: This post explains how you can write posts using Markdown.
tags: [guide, markdown]
---

# This is a heading
## This is a sub-heading
### This is a sub-sub-heading

<span class="color-blue">Some</span>
<span class="color-green">cool</span>
<span class="color-orange">colorful</span>
<span class="color-red">text.</span><br>

<span class="highlight-blue">And</span>
<span class="highlight-green">some</span>
<span class="highlight-orange">highlighting</span>
<span class="highlight-red">styles.</span>

**Here is a bulleted list,**
- This is a bullet point
- This is another bullet point


**Here is a numbered list,**
1. You can also number things down.
2. And so on.

**Here is a sample code snippet in C,**
```C
#include <stdio.h>

int main(void){
printf("hello world!");
}
```

**Here is a horizontal rule,**

--------------

**Here is a blockquote,**

> There is no such thing as a hopeless situation. Every single
> circumstances of your life can change!

**Here is a table,**

ID | Name | Subject
----|--------|--------
201 | John | Physics
202 | Doe | Chemistry
203 | Samson | Biology

**Here is a link,**<br>
[GitHub Inc.](https://github.com) is a web-based hosting service
for version control using Git

**Here is an image,**<br>
![](../assets/autumn.jpg)
22 changes: 22 additions & 0 deletions _posts/2024-12-01-Quotes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
layout: post
title: "Quotes"
subtitle: "Storage space for quotes of note. Updated."
date: 2024-12-12
tags: [literature, borrowed]
---
###The Corrections by Johnathan Franzen
*read Nov 2024*

> “He couldn't figure out if she was immensely well adjusted or seriously messed up.”

> “What you discovered about yourself in raising children wasn't always agreeable or attractive.”

> “She was so much a personality and so little anything else that even staring straight at her he had no idea what she really looked like.”

> “And if you sat at the dinner table long enough, whether in punishment or in refusal or simply in boredom, you never stopped sitting there. Some part of you sat there all your life.”
---

###Never Let Me Go by Kazuo Ishiguro
*read Nov 2024*

9 changes: 9 additions & 0 deletions _posts/2024-12-12-placeholder-post.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
layout: post
title: "Placeholder Post"
subtitle: "this should show up on the front page"
date: 2024-12-12
tags: [broad, ozempic, modern]
---

This is a placeholder post for your blog. Replace this content with your actual blog post.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
layout: post
title: "Fantastic incentives and where to find them"
subtitle: "How to get people to fish shit out of bins."
date: 2024-12-09
tags: [economics, policy, analysis]
---

This is a placeholder post for your blog. Replace this content with your actual blog post.
23 changes: 23 additions & 0 deletions _posts/2024-12-13-The Corrections.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
layout: post
title: "The Corrections"
subtitle: "The way we think about weight is changing."
date: 2024-12-14
tags: [broad, ozempic, modern]
---
# I
> “So, what, you got cigarette burns, too?" Gitanes said.
>
> Chip showed his palm, "It's nothing."
>
> "Self-inflicted. You pathetic American."
>
> "Different kind of prison," Chip said.

<div style="text-align: right">― Jonathan Franzen, The Corrections</div>

Feedback loops regulate critical systems of the human body. In a basic model, these use 'set points to

# II

# III
Loading