d/customization/index.html @ c535b74d3a2e
cl-digraph: Update site.
author |
Steve Losh <steve@stevelosh.com> |
date |
Sat, 18 Jul 2020 12:35:26 -0400 |
parents |
80ebae4e1e52 |
children |
(none) |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Customization / d</title>
<link rel="stylesheet" href="../_dmedia/tango.css"/>
<link rel="stylesheet/less" type="text/css" href="../_dmedia/style.less"/>
<script src="../_dmedia/less.js" type="text/javascript">
</script>
</head>
<body class="content">
<div class="wrap">
<header><h1><a href="..">d</a></h1></header>
<div class="markdown">
<h1 id="customization"><a href="">Customization</a></h1><p><code>d</code> is mostly designed for quick and dirty use. There are a few customization
options, but if you find yourself wanting more you probably need a different
tool.</p>
<div class="toc">
<ul>
<li><a href="#project-title">Project Title</a></li>
<li><a href="#page-titles">Page Titles</a></li>
<li><a href="#page-urls">Page URLs</a></li>
<li><a href="#footer">Footer</a></li>
</ul></div>
<h2 id="project-title">Project Title</h2>
<p><code>d</code> tries to intelligently guess your project's title. You can override it by
creating a <code>title</code> file with the title inside.</p>
<h2 id="page-titles">Page Titles</h2>
<p><code>d</code> takes page titles from the first line of the file, which should be a level
1 Markdown heading.</p>
<h2 id="page-urls">Page URLs</h2>
<p>The URL for each page will be the filename of the page, without an extension.
For example, <code>usage.markdown</code> will have a URL of <code>/usage/</code>.</p>
<p>There is one exception: if a filename starts with a number and a dash, <code>d</code> will
ignore those for the URLs (but will sort on them, so you can use this to reorder
pages).</p>
<h2 id="footer">Footer</h2>
<p>The contents of the footer are rendered from <code>footer.markdown</code>, or left blank if
you don't have it.</p>
</div>
<footer><p>Created by <a href="http://stevelosh.com">Steve Losh</a>.
Inspired by <a href="http://stevelosh.com/projects/t/">t</a>.</p>
<p><br/><a id="rochester-made" href="https://rochestermade.com" title="Rochester Made"><img src="http://rochestermade.com/media/images/rochester-made-dark-on-light.png" alt="Rochester Made" title="Rochester Made"/></a></p></footer>
</div>
</body>
</html>