From fd20202b038e4e888f10f18b9f082c490ce10e64 Mon Sep 17 00:00:00 2001 From: "Michael D. Lowis" Date: Thu, 5 Jan 2017 09:23:47 -0500 Subject: [PATCH] Update homepage --- pages/0-home.md | 8 ------ site/articles.html | 12 +++------ site/home.html | 60 ++++++++++++++++++++------------------------ site/projects.html | 12 +++------ site/prototypes.html | 12 +++------ templates/page.erb | 8 +----- update.rb | 7 +----- 7 files changed, 38 insertions(+), 81 deletions(-) diff --git a/pages/0-home.md b/pages/0-home.md index 1d0fc63..aef8cf1 100644 --- a/pages/0-home.md +++ b/pages/0-home.md @@ -7,8 +7,6 @@ Craftsmanship and clean software design. This site is meant to showcase some of my own thoughts and projects regarding those concepts as well as many others. -
- ## Post Topics This blog is meant to cover a range of topics that I find incredibly @@ -19,10 +17,6 @@ interesting. Below is a subset of the topics that I intend to cover: * Compiler Internals * Systems Programming -
- -
- ## Interesting Projects Check out some of my projects on GitHub: @@ -31,5 +25,3 @@ Check out some of my projects on GitHub: * Opts: A dead-simple options parsing library written in ANSI C. * Parse-Utils: A collection of C++ classes for implementing recursive descent parsers. -
- diff --git a/site/articles.html b/site/articles.html index a78d234..6d2f1c2 100644 --- a/site/articles.html +++ b/site/articles.html @@ -19,21 +19,15 @@
- +

Articles

diff --git a/site/home.html b/site/home.html index 8397adc..2c455ec 100644 --- a/site/home.html +++ b/site/home.html @@ -19,49 +19,43 @@
- +

Home

Welcome! I am Michael D. Lowis and this is my personal web page. I am an Embedded Software Engineer, currently employed at Gentex Corporation in Zeeland, MI. I have a keen interest in the concepts of Software Craftsmanship and clean software design. This site is meant to showcase some of my own thoughts and projects regarding those concepts as well as many others.

-
- -## Post Topics - -This blog is meant to cover a range of topics that I find incredibly -interesting. Below is a subset of the topics that I intend to cover: - -* Programming Language Design -* Software Construction Tools -* Compiler Internals -* Systems Programming - -
-
- -## Interesting Projects - -Check out some of my projects on GitHub: - -* Data Structures: A collection of classic data structures written in ANSI C. -* Opts: A dead-simple options parsing library written in ANSI C. -* Parse-Utils: A collection of C++ classes for implementing recursive descent parsers. - -
+

Post Topics

+

This blog is meant to cover a range of topics that I find incredibly interesting. Below is a subset of the topics that I intend to cover:

+
    +
  • +Programming Language Design +
  • +Software Construction Tools +
  • +Compiler Internals +
  • +Systems Programming +
  • +
+

Interesting Projects

+

Check out some of my projects on GitHub:

+
    +
  • +Data Structures: A collection of classic data structures written in ANSI C. +
  • +Opts: A dead-simple options parsing library written in ANSI C. +
  • +Parse-Utils: A collection of C++ classes for implementing recursive descent parsers. +
  • +
diff --git a/site/projects.html b/site/projects.html index fb85041..84b14a3 100644 --- a/site/projects.html +++ b/site/projects.html @@ -19,21 +19,15 @@
- +

Projects

diff --git a/site/prototypes.html b/site/prototypes.html index 9db9864..6ecd5ad 100644 --- a/site/prototypes.html +++ b/site/prototypes.html @@ -19,21 +19,15 @@
- +

Prototypes

diff --git a/templates/page.erb b/templates/page.erb index a34d16c..cf634ec 100644 --- a/templates/page.erb +++ b/templates/page.erb @@ -21,13 +21,7 @@
- +
<%= @contents %> diff --git a/update.rb b/update.rb index a722cb0..633501f 100755 --- a/update.rb +++ b/update.rb @@ -54,7 +54,7 @@ class Page def getmenu() menu = "\n" - Dir.glob('pages/*.md').each_with_index do |e,idx| + Dir.glob('pages/*.md').sort.each_with_index do |e,idx| page = e.match(/\d+-(.+).md/)[1] menu += "#{page}\n" end @@ -84,8 +84,3 @@ Dir.glob('pages/*.md').each do |md| puts "#{md} -> #{html}" Page.new(md).save(html) end - -# Generate Home Page -# Generate Articles Page -# Generate Projects Page -# Generate Prototypes Page \ No newline at end of file -- 2.52.0