Skip to content

Commit

Permalink
show commands
Browse files Browse the repository at this point in the history
  • Loading branch information
bouzuya committed Nov 27, 2020
1 parent 21ccd55 commit c045de1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ <h1><a href="{{ page_url }}">{{ page_id }}</a></h1>
</ul>
</nav>
{% endif %}
<ul>
<li><pre><code>rust-memo link '{{ title }}'</code></pre></li>
<li><pre><code>rust-memo edit '{{ page_id }}.md'</code></pre></li>
</ul>
</header>
<main class="page-body">
<article>{{ html|safe }}</article>
Expand Down
8 changes: 4 additions & 4 deletions templates/title-not-found.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ <h1><a href="{{ title_url }}">{{ title }}</a></h1>
<li><a href="{{ title_url }}">{{ title }}</a></li>
</ul>
</nav>
<ul>
<li><pre><code>rust-memo link '{{ title }}'</code></pre></li>
<li><pre><code>rust-memo new --title '{{ title }}'</code></pre></li>
</ul>
</header>
<main class="page-body">
<p>The title was not found</p>
<p>
You can create a memo with that title using the following command:
<pre><code>rust-memo new --title '{{title}}'</code></pre>
</p>
</main>
<footer class="page-footer"></footer>
</body>
Expand Down

0 comments on commit c045de1

Please sign in to comment.