commit 636d98a51860743d26ed62cfed6944c7b29a143c parent 867dee11697e6ed58e3b41b8fb5e1043dc4d00d0 Author: Andreas Gruhler <agruhl@gmx.ch> Date: Sun, 25 Jul 2021 23:08:41 +0200 add quickstart guide Diffstat:
M | index.html | | | 43 | ++++++++++++++++++++++++------------------- |
1 file changed, 24 insertions(+), 19 deletions(-)
diff --git a/index.html b/index.html @@ -5,23 +5,27 @@ title: Home {% include intro.html %} -<section class="post-list"> - <div class="container"> - {% for post in site.posts %} - {% unless post.next %} - <h2 class="category-title">{{ post.date | date: '%Y' }}</h2> - {% else %} - {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %} - {% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %} - {% if year != nyear %} - <h2 class="category-title">{{ post.date | date: '%Y' }}</h2> - {% endif %} - {% endunless %} - <article class="post-item"> - <span class="post-meta date-label">{{ post.date | date: "%b %d" }}</span> - <div class="article-title"><a class="post-link" href="{{ post.url | prepend: site.baseurl | prepend: site.url }}">{{ post.title }}</a></div> - </article> - {% endfor %} +<article> + <div class="page container"> + <header class="page-header"> + <h1 class="page-title">Quickstart</h1> + </header> + <div class="page-content"> + <ol class="default-ol"> + <li>Download and install the diary from <a href="https://software.opensuse.org/download.html?project=home%3Ain0rdr&package=diary">here</a>.</li> + <li> + <p>Set the EDITOR environment variable to your favourite text editor:</p> + <p><code>export EDITOR=vim</code></p> + </li> + <li> + <p>Run the diary, with the folder for the text files as first argument:</p> + <p><code>diary ~/.diary</code></p> + <p> + Or, set the environment variable <code>DIARY_DIR</code> to the desired directory. + The text files in this folder will be named 'yyyy-mm-dd'. + </p> + </li> + </ol> + </div> </div> - -</section> +</article> +\ No newline at end of file