]> git.mdlowis.com Git - projs/mdlowis.com.git/commitdiff
Parameterized logo path as well as CSS path
authorMike D. Lowis <mike.lowis@gentex.com>
Mon, 10 Aug 2015 17:20:12 +0000 (13:20 -0400)
committerMike D. Lowis <mike.lowis@gentex.com>
Mon, 10 Aug 2015 17:20:12 +0000 (13:20 -0400)
Makefile
config.sh
site/articles.html
site/home.html
site/projects.html
site/prototypes.html
templates/page.html

index 11d470a8705fbabf15e5fbd9a55cf45eb074434c..171bdddfafb9efd8e4a6292925c9a55fe5a913e2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ PAGES = $(addprefix site/,$(addsuffix .html,$(basename $(notdir $(wildcard pages
 all: $(PAGES)
 
 serve:
-       cd site && serve
+       serve
 
 site/%.html : pages/%.md
        genpage $< > $@
index 90bb5c0d408d95eb1d37bbdc852299f187f13a2e..08a5f9daaa4f78d1bcf5724115557847aa1e66c0 100644 (file)
--- a/config.sh
+++ b/config.sh
@@ -3,5 +3,7 @@
 export TITLE="Simplicity is the ultimate sophistication"
 export SUBTITLE=$TITLE
 export COPYRIGHT="© 2015 Michael D. Lowis"
+export STYLE="/site/style.css"
+export LOGO="/site/logo.png"
 export MENUTEXT="`genmenu.sh`"
 
index 9027a21e0746ca899c3957efe970585cf6e88490..d9c853de5dff5c06027cd31cce74cdc66874ee9c 100644 (file)
@@ -2,13 +2,13 @@
 <!-- Site design *heavily* based on the excellent design of http://suckless.org/ -->
 <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     <title>Simplicity is the ultimate sophistication</title>
-    <link rel="shortcut icon" type="image/x-icon" href="logo.png" />
+    <link rel="shortcut icon" type="image/x-icon" href="/site/logo.png" />
     <link rel="stylesheet" type="text/css" href="/site/style.css">
     <meta charset="utf-8">
 </head>
 <body>
     <div class="header">
-        <a href="index.html"><img src="logo.png"></a>
+        <a href="index.html"><img src="/site/logo.png"></a>
         <a class="headerLink" href="index.html">mdlowis</a>
         <span class="headerSubtitle">Simplicity</span>
     </div>
index 702fe988443bc37550887a1a0d8960bd518e910e..cb61adc79eed7beeb59c560ee47e6001e2274f16 100644 (file)
@@ -2,13 +2,13 @@
 <!-- Site design *heavily* based on the excellent design of http://suckless.org/ -->
 <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     <title>Simplicity is the ultimate sophistication</title>
-    <link rel="shortcut icon" type="image/x-icon" href="logo.png" />
+    <link rel="shortcut icon" type="image/x-icon" href="/site/logo.png" />
     <link rel="stylesheet" type="text/css" href="/site/style.css">
     <meta charset="utf-8">
 </head>
 <body>
     <div class="header">
-        <a href="index.html"><img src="logo.png"></a>
+        <a href="index.html"><img src="/site/logo.png"></a>
         <a class="headerLink" href="index.html">mdlowis</a>
         <span class="headerSubtitle">Simplicity</span>
     </div>
index 9027a21e0746ca899c3957efe970585cf6e88490..d9c853de5dff5c06027cd31cce74cdc66874ee9c 100644 (file)
@@ -2,13 +2,13 @@
 <!-- Site design *heavily* based on the excellent design of http://suckless.org/ -->
 <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     <title>Simplicity is the ultimate sophistication</title>
-    <link rel="shortcut icon" type="image/x-icon" href="logo.png" />
+    <link rel="shortcut icon" type="image/x-icon" href="/site/logo.png" />
     <link rel="stylesheet" type="text/css" href="/site/style.css">
     <meta charset="utf-8">
 </head>
 <body>
     <div class="header">
-        <a href="index.html"><img src="logo.png"></a>
+        <a href="index.html"><img src="/site/logo.png"></a>
         <a class="headerLink" href="index.html">mdlowis</a>
         <span class="headerSubtitle">Simplicity</span>
     </div>
index 9027a21e0746ca899c3957efe970585cf6e88490..d9c853de5dff5c06027cd31cce74cdc66874ee9c 100644 (file)
@@ -2,13 +2,13 @@
 <!-- Site design *heavily* based on the excellent design of http://suckless.org/ -->
 <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     <title>Simplicity is the ultimate sophistication</title>
-    <link rel="shortcut icon" type="image/x-icon" href="logo.png" />
+    <link rel="shortcut icon" type="image/x-icon" href="/site/logo.png" />
     <link rel="stylesheet" type="text/css" href="/site/style.css">
     <meta charset="utf-8">
 </head>
 <body>
     <div class="header">
-        <a href="index.html"><img src="logo.png"></a>
+        <a href="index.html"><img src="/site/logo.png"></a>
         <a class="headerLink" href="index.html">mdlowis</a>
         <span class="headerSubtitle">Simplicity</span>
     </div>
index 3fe6f0968b8cdab81a9fd01cbc7d8cf18515eb01..980ef200b43503213fbc56ebb5304aaf0b4097ec 100644 (file)
@@ -2,13 +2,13 @@
 <!-- Site design *heavily* based on the excellent design of http://suckless.org/ -->
 <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     <title>{{TITLE}}</title>
-    <link rel="shortcut icon" type="image/x-icon" href="logo.png" />
-    <link rel="stylesheet" type="text/css" href="/site/style.css">
+    <link rel="shortcut icon" type="image/x-icon" href="{{LOGO}}" />
+    <link rel="stylesheet" type="text/css" href="{{STYLE}}">
     <meta charset="utf-8">
 </head>
 <body>
     <div class="header">
-        <a href="index.html"><img src="logo.png"></a>
+        <a href="index.html"><img src="{{LOGO}}"></a>
         <a class="headerLink" href="index.html">mdlowis</a>
         <span class="headerSubtitle">{{SUBTITLE}}</span>
     </div>