From feaaeb802686a6b9eba5da37dbbcfb3f6604d477 Mon Sep 17 00:00:00 2001 From: Erik Strand <erik.strand@cba.mit.edu> Date: Wed, 13 Feb 2019 18:43:11 -0500 Subject: [PATCH] Build a skeletal framework for my class page --- _authors/jill.md | 6 ------ _authors/ted.md | 25 ------------------------- _data/navigation.yml | 8 ++------ _layouts/author.html | 15 --------------- _layouts/post.html | 4 ---- _posts/2019-02-13-bananas.md | 11 ----------- _posts/2019-02-13-kiwis.md | 11 ----------- _posts/2019-02-13-pset1.md | 11 +++++++++++ about.md | 6 ------ index.html | 4 ---- index.md | 7 +++++++ blog.html => psets.html | 4 ++-- staff.html | 13 ------------- 13 files changed, 22 insertions(+), 103 deletions(-) delete mode 100644 _authors/jill.md delete mode 100644 _authors/ted.md delete mode 100644 _layouts/author.html delete mode 100644 _posts/2019-02-13-bananas.md delete mode 100644 _posts/2019-02-13-kiwis.md create mode 100644 _posts/2019-02-13-pset1.md delete mode 100644 about.md delete mode 100644 index.html create mode 100644 index.md rename blog.html => psets.html (80%) delete mode 100644 staff.html diff --git a/_authors/jill.md b/_authors/jill.md deleted file mode 100644 index 711044c..0000000 --- a/_authors/jill.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -short_name: jill -name: Jill Smith -position: Chief Editor ---- -Jill is an avid fruit grower based in the south of France. diff --git a/_authors/ted.md b/_authors/ted.md deleted file mode 100644 index 4c8f5e3..0000000 --- a/_authors/ted.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -short_name: ted -name: Ted Doe -position: Writer ---- -Ted has been eating fruit since he was baby. - -Here is a math block: - -$$ -\begin{equation*} - \sum_{i=0}^3 \left( x^2 + i! \right) -\end{equation*} -$$ - -You can also do inline math statements: $$ 5 + 5 $$. Yeet. - -Something something quantum $$\lvert \uparrow \downarrow \rangle$$. -Something something matrix: $$\begin{pmatrix} 1 &0 \\ 0 &1 \end{pmatrix}$$ - -Wasn't that nice. - -I followed the instructions <a href="https://quuxplusone.github.io/blog/2018/08/05/mathjax-in-jekyll/">here</a>, -and got the equation numbering snippet from <a href="http://haixing-hu.github.io/programming/2013/09/20/how-to-use-mathjax-in-jekyll-generated-github-pages/">this blog</a>. -Read more about mathjax in kramdown <a href="https://kramdown.gettalong.org/syntax.html#math-blocks">here</a>. diff --git a/_data/navigation.yml b/_data/navigation.yml index df9b21c..cb67c7c 100644 --- a/_data/navigation.yml +++ b/_data/navigation.yml @@ -1,8 +1,4 @@ - name: Home link: / -- name: About - link: /about.html -- name: Blog - link: /blog.html -- name: Staff - link: /staff.html +- name: Problem Sets + link: /psets.html diff --git a/_layouts/author.html b/_layouts/author.html deleted file mode 100644 index 241a3f3..0000000 --- a/_layouts/author.html +++ /dev/null @@ -1,15 +0,0 @@ ---- -layout: default ---- -<h1>{{ page.name }}</h1> -<h2>{{ page.position }}</h2> - -{{ content }} - -<h2>Posts</h2> -<ul> - {% assign filtered_posts = site.posts | where: 'author', page.short_name %} - {% for post in filtered_posts %} - <li><a href="{{ post.url }}">{{ post.title }}</a></li> - {% endfor %} -</ul> diff --git a/_layouts/post.html b/_layouts/post.html index bd67824..0fab084 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -5,10 +5,6 @@ layout: default <p> {{ page.date | date_to_string }} - {% assign author = site.authors | where: 'short_name', page.author | first %} - {% if author %} - - <a href="{{ author.url }}">{{ author.name }}</a> - {% endif %} </p> {{ content }} diff --git a/_posts/2019-02-13-bananas.md b/_posts/2019-02-13-bananas.md deleted file mode 100644 index a42e705..0000000 --- a/_posts/2019-02-13-bananas.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -author: jill ---- -A banana is an edible fruit – botanically a berry – produced by several kinds -of large herbaceous flowering plants in the genus Musa. - -In some countries, bananas used for cooking may be called "plantains", -distinguishing them from dessert bananas. The fruit is variable in size, color, -and firmness, but is usually elongated and curved, with soft flesh rich in -starch covered with a rind, which may be green, yellow, red, purple, or brown -when ripe. diff --git a/_posts/2019-02-13-kiwis.md b/_posts/2019-02-13-kiwis.md deleted file mode 100644 index e68cec5..0000000 --- a/_posts/2019-02-13-kiwis.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -author: ted ---- -Kiwifruit (often abbreviated as kiwi), or Chinese gooseberry is the edible -berry of several species of woody vines in the genus Actinidia. - -The most common cultivar group of kiwifruit is oval, about the size of a large -hen's egg (5–8 cm (2.0–3.1 in) in length and 4.5–5.5 cm (1.8–2.2 in) in -diameter). It has a fibrous, dull greenish-brown skin and bright green or -golden flesh with rows of tiny, black, edible seeds. The fruit has a soft -texture, with a sweet and unique flavor. diff --git a/_posts/2019-02-13-pset1.md b/_posts/2019-02-13-pset1.md new file mode 100644 index 0000000..ec79855 --- /dev/null +++ b/_posts/2019-02-13-pset1.md @@ -0,0 +1,11 @@ +--- +title: Problem Set 1 +--- + +This will be my first problem set. + +$$ +\begin{equation*} + \sum_{i=0}^3 \left( x^2 + i! \right) +\end{equation*} +$$ diff --git a/about.md b/about.md deleted file mode 100644 index b978161..0000000 --- a/about.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: About ---- -# About page - -This page tells you a little bit about me. diff --git a/index.html b/index.html deleted file mode 100644 index a64484d..0000000 --- a/index.html +++ /dev/null @@ -1,4 +0,0 @@ ---- -title: Home ---- -<h1>{{ "Hello World!" | downcase }}</h1> diff --git a/index.md b/index.md new file mode 100644 index 0000000..5866ab8 --- /dev/null +++ b/index.md @@ -0,0 +1,7 @@ +--- +title: Home +--- + +# MAS 6.244 Physics of Information Technology 2019 + +This is Erik Strand's as yet totally unstyled tracking page. diff --git a/blog.html b/psets.html similarity index 80% rename from blog.html rename to psets.html index 09f1c25..86ff35c 100644 --- a/blog.html +++ b/psets.html @@ -1,7 +1,7 @@ --- -title: Blog +title: Problem Sets --- -<h1>Latest Posts</h1> +<h1>Problem Sets</h1> <ul> {% for post in site.posts %} diff --git a/staff.html b/staff.html deleted file mode 100644 index b26bd09..0000000 --- a/staff.html +++ /dev/null @@ -1,13 +0,0 @@ ---- ---- -<h1>Staff</h1> - -<ul> - {% for author in site.authors %} - <li> - <h2><a href="{{ author.url }}">{{ author.name }}</a></h2> - <h3>{{ author.position }}</h3> - <p>{{ author.content | markdownify }}</p> - </li> - {% endfor %} -</ul> -- GitLab