Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions templates/edit.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,5 @@
<input type=hidden name="sha" value="{{bookmarksSHA}}" />
</form>

<b><u>How to use this?</u></b><br>
Simply. First edit your page using the keywords below then set it as your start page.<br>
"&lt;URL&gt; &lt;Name&gt; &lt;Newline&gt;" - Will create a link to URL with name, if you need to use a space make it %20 and use that.<br>
"Category: &lt;name&gt; &lt;Newline&gt;" - Creates a category named &lt;name&gt;.<br />
"Column &lt;Newline&gt;" - Creates a new column.<br/>
"Page &lt;Newline&gt;" - Creates a new page.<br/>
"--" - Inserts a horizontal rule and resets the columns.
{{ template "editNotes" $ }}
{{ template "tail" $ }}
1 change: 1 addition & 0 deletions templates/editCategory.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@
<input type=hidden name="ref" value="{{ref}}" />
<input type=hidden name="sha" value="{{bookmarksSHA}}" />
</form>
{{ template "editNotes" $ }}
{{ template "tail" $ }}
10 changes: 10 additions & 0 deletions templates/editNotes.gohtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{{define "editNotes"}}
<b><u>How to use this?</u></b><br>
Simply edit your page using the keywords below then set it as your start page.<br>
"&lt;URL&gt; &lt;Name&gt; &lt;Newline&gt;" - Creates a link to URL with name, if you need spaces use %20.<br>
"Category: &lt;name&gt; &lt;Newline&gt;" - Creates a category named &lt;name&gt;.<br/>
"Column &lt;Newline&gt;" - Creates a new column.<br/>
"Page &lt;Newline&gt;" - Creates a new page.<br/>
"--" - Inserts a horizontal rule and resets the columns.<br>
<i>Each category heading on the index page has a pencil icon that links to /editCategory for quick edits. Changes are checked against the file SHA to prevent losing updates.</i>
{{end}}
Loading