Compare commits
7 Commits
a7f9b18da1
...
master
Author | SHA1 | Date | |
---|---|---|---|
![]() |
5243e7de36 | ||
![]() |
f36a40d596 | ||
![]() |
344ca6a974 | ||
![]() |
11d128c2bd | ||
![]() |
f6f4d52e29 | ||
![]() |
d12af583a3 | ||
![]() |
f04cac6107 |
16
config.toml
Normal file
16
config.toml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# The URL the site will be built for
|
||||||
|
base_url = "https://mjwilson.org"
|
||||||
|
|
||||||
|
# Whether to automatically compile all Sass files in the sass directory
|
||||||
|
compile_sass = true
|
||||||
|
|
||||||
|
# Whether to build a search index to be used later on by a JavaScript library
|
||||||
|
build_search_index = false
|
||||||
|
|
||||||
|
[markdown]
|
||||||
|
# Whether to do syntax highlighting
|
||||||
|
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
|
||||||
|
highlight_code = true
|
||||||
|
|
||||||
|
[extra]
|
||||||
|
# Put all your custom variables here
|
5
content/about.md
Normal file
5
content/about.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
+++
|
||||||
|
title = "About Me"
|
||||||
|
description = "About Me | Mike Wilson"
|
||||||
|
template = "post.html"
|
||||||
|
+++
|
6
content/blog/_index.md
Normal file
6
content/blog/_index.md
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
+++
|
||||||
|
title = "List of blog posts"
|
||||||
|
sort_by = "date"
|
||||||
|
template = "blog.html"
|
||||||
|
page_template = "post.html"
|
||||||
|
+++
|
6
content/blog/first.md
Normal file
6
content/blog/first.md
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
+++
|
||||||
|
title = "My first post"
|
||||||
|
date = 2019-11-27
|
||||||
|
+++
|
||||||
|
|
||||||
|
This is my first blog post.
|
52
content/books.md
Normal file
52
content/books.md
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
+++
|
||||||
|
title = "Reading List"
|
||||||
|
description = "A list of books I've read or planned to read"
|
||||||
|
template = "post.html"
|
||||||
|
+++
|
||||||
|
|
||||||
|
Here's a list of books I've read and books I plan to read in the future. This page is as much for my own record as anything else.
|
||||||
|
|
||||||
|
If I feel like it, I may post reviews on certain books, in which case I'll link to those posts below.
|
||||||
|
|
||||||
|
# Currently Reading
|
||||||
|
|
||||||
|
* Crime and Punishment
|
||||||
|
* Economics in One Lesson - Henry Hazlitt
|
||||||
|
|
||||||
|
# Read
|
||||||
|
|
||||||
|
* The Law - Frédéric Bastiat
|
||||||
|
* Endurance - Alfred Lansing
|
||||||
|
* Sunrise on the Reaping - Suzanne Collins
|
||||||
|
* Mockingjay - Suzanne Collins
|
||||||
|
* Catching Fire - Suzanne Collins
|
||||||
|
* The Hunger Games - Suzanne Collins
|
||||||
|
* The Sun Also Rises - Ernest Hemingway
|
||||||
|
* Cannery Rown - John Steinbeck
|
||||||
|
* East of Eden - John Steinbeck
|
||||||
|
* The Lord of the Rings - J.R.R. Tolkien
|
||||||
|
* The Hobbit - J.R.R. Tolkien
|
||||||
|
* Harry Potter and the Deathly Hallows - J.K. Rowling
|
||||||
|
* Harry Potter and the Half Blood Prince - J.K. Rowling
|
||||||
|
* Harry Potter and the Order of the Phoenix - J.K. Rowling
|
||||||
|
* Harry Potter and the Goblet of Fire - J.K. Rowling
|
||||||
|
* Harry Potter and the Prisoner of Azkaban - J.K. Rowling
|
||||||
|
* Harry Potter and the Chamber of Secrets - J.K. Rowling
|
||||||
|
* Harry Potter and the Philosopher's Stone - J.K. Rowling
|
||||||
|
* The Grapes of Wrath - John Steinbeck
|
||||||
|
* The First Fifteen Lives of Harry August - Claire North
|
||||||
|
* The Road - Cormac McCarthy
|
||||||
|
* The Tokyo Zodiac Murders - Sōji Shimada
|
||||||
|
* Kafka on the Shore - Haruki Murakami
|
||||||
|
* A Christmas Carol - Charles Dickens
|
||||||
|
* The Art of War - Sun Tzu
|
||||||
|
* Meditations - Marcus Aurelius
|
||||||
|
* The Martian - Andy Weir
|
||||||
|
* Dune - Frank Herbert
|
||||||
|
* Murder on the Orient Express - Agatha Christie
|
||||||
|
* 1984 - George Orwell
|
||||||
|
* Industrial Society and Its Future - Theodore Kaczynski
|
||||||
|
* Star Wars: Heir to the Empire - Timothy Zahn
|
||||||
|
* Slaughterhouse-Five - Kurt Vonnegut Jr.
|
||||||
|
* Common Sense - Thomas Paine
|
||||||
|
* Gone Girl - Gillian Flynn
|
26
templates/base.html
Normal file
26
templates/base.html
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>MyBlog</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
<nav>
|
||||||
|
<a href="{{ get_url(path='/') }}">Home</a>
|
||||||
|
<a href="{{ get_url(path='@/about.md') }}">About</a>
|
||||||
|
<a href="{{ get_url(path='@/blog/_index.md') }}">Posts</a>
|
||||||
|
<a href="{{ get_url(path='@/books.md') }}">Books</a>
|
||||||
|
<a href="https://git.mjwilson.org">Projects</a>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
<section class="section">
|
||||||
|
<div class="container">
|
||||||
|
{% block content %} {% endblock content %}
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
14
templates/blog.html
Normal file
14
templates/blog.html
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{% extends "base.html" %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<h1 class="title">
|
||||||
|
{{ section.title }}
|
||||||
|
</h1>
|
||||||
|
<ul>
|
||||||
|
<!-- If you are using pagination, section.pages will be empty.
|
||||||
|
You need to use the paginator object -->
|
||||||
|
{% for page in section.pages %}
|
||||||
|
<li><a href="{{ page.permalink | safe }}">{{ page.title }}</a></li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
{% endblock content %}
|
7
templates/index.html
Normal file
7
templates/index.html
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{% extends "base.html" %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<h1 class="title">
|
||||||
|
Mike Wilson
|
||||||
|
</h1>
|
||||||
|
{% endblock content %}
|
9
templates/post.html
Normal file
9
templates/post.html
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{% extends "base.html" %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<h1 class="title">
|
||||||
|
{{ page.title }}
|
||||||
|
</h1>
|
||||||
|
<p class="subtitle"><strong>{{ page.date }}</strong></p>
|
||||||
|
{{ page.content | safe }}
|
||||||
|
{% endblock content %}
|
Reference in New Issue
Block a user