all: $(PAGES)
serve:
- cd site && serve
+ serve
site/%.html : pages/%.md
genpage $< > $@
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`"
<!-- 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>
<!-- 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>
<!-- 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>
<!-- 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>
<!-- 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>