Skip to content

Commit

Permalink
2024-04-09 15:40:05
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiKimera committed Apr 9, 2024
1 parent 783cc33 commit 52a9142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/shortcodes/file.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
{{ if (eq (($lang) | len) 0) }}
{{ $lang = ((replace (path.Ext (.Name)) "." "") | default "plaintext") }}
{{ end }}
<pre><code>{{ ((.Content) | chomp) }}</code></pre>
<pre><code class="language-{{ ($lang) }}">{{ ((.Content) | chomp) }}</code></pre>
</div>
</div>
</div>
Expand Down

0 comments on commit 52a9142

Please sign in to comment.