mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-25 21:16:21 +00:00
modify obsidian
This commit is contained in:
parent
e1911a58ff
commit
612c44d719
2 changed files with 3 additions and 3 deletions
|
@ -21,7 +21,7 @@ Under Options > Files and Links, set the New link format to always be Absolute P
|
||||||
![Obsidian Settings](/notes/images/obsidian-settings.png)*Obsidian Settings*
|
![Obsidian Settings](/notes/images/obsidian-settings.png)*Obsidian Settings*
|
||||||
|
|
||||||
## Templates
|
## Templates
|
||||||
Inserting front matter everytime you want to create a new Note gets really annoying really quickly. Luckily, Obsidian supports templates which makes inserting new content really easily.
|
Inserting front matter everytime you want to create a new Note gets annoying really quickly. Luckily, Obsidian supports templates which makes inserting new content really easily.
|
||||||
|
|
||||||
**If you decide to overwrite the `/content` folder completely, don't remove the `/content/templates` folder!**
|
**If you decide to overwrite the `/content` folder completely, don't remove the `/content/templates` folder!**
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<article>
|
<article>
|
||||||
<h1>All {{.Title}}</h1>
|
<h1>All {{.Title}}</h1>
|
||||||
<ul class="section-ul">
|
<ul class="section-ul">
|
||||||
{{- range .Pages -}}
|
{{- range .Pages.ByLastmod -}}
|
||||||
<li class="section-li">
|
<li class="section-li">
|
||||||
<div class="section">
|
<div class="section">
|
||||||
<div class="desc">
|
<div class="desc">
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
<p>{{- .Summary -}}{{if .Truncated}}...{{end}}</p>
|
<p>{{- .Summary -}}{{if .Truncated}}...{{end}}</p>
|
||||||
</div>
|
</div>
|
||||||
<p class="meta">
|
<p class="meta">
|
||||||
{{ .ReadingTime }} minute read
|
{{ .ReadingTime }} minute read, Last updated {{ .Lastmod.Format "January 2, 2006" }}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in a new issue