Skip to content

Commit

Permalink
2024-02-21 17:50:59
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiKimera committed Feb 21, 2024
1 parent 6266af5 commit cd66c98
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 22 deletions.
1 change: 0 additions & 1 deletion layouts/_default/single.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@

{{ $content := (dict
"plain" (((.Page.Plain) | chomp) | base64Encode)
"markdown" ((readFile (.File.Path) | chomp) | base64Encode)
) }}

{{ $site := (dict
Expand Down
11 changes: 0 additions & 11 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,6 @@

<!--[ canonical ]-->
{{ $canonical := (.Permalink) }}
{{ with ($.Paginator) }}
{{ $canonical = ((.URL) | absURL) }}
<link rel="first" href="{{ ((.First.URL) | absURL) }}"/>
<link rel="last" href="{{ ((.Last.URL) | absURL) }}"/>
{{ if (.HasPrev) }}
<link rel="prev" href="{{ ((.Prev.URL) | absURL) }}"/>
{{ end }}
{{ if (.HasNext) }}
<link rel="next" href="{{ ((.Next.URL) | absURL) }}"/>
{{ end }}
{{ end }}
<link rel="canonical" href="{{ ($canonical) }}"/>
<!--[ / canonical ]-->

Expand Down
10 changes: 0 additions & 10 deletions layouts/partials/module/node/tabs/info/stats.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,6 @@ <h5 class="card-title">{{ (i18n "stats") }}</h5>
</div>
</div>
{{ end }}
{{ with (.File) }}
{{ $f := (os.Stat .) }}
<div class="col">{{ (i18n "size") }}</div>
<div class="col">
<div class="input-group">
<input type="text" class="form-control" value="{{ (div ($f.Size) 1000) }}" readonly/>
<span class="input-group-text">{{ (i18n "kB") }}</span>
</div>
</div>
{{ end }}
</div>
</div>
</section>

0 comments on commit cd66c98

Please sign in to comment.