1 {{ partial "header.html" . }}
3 <div class="shaded primary padded-vertical">
4 <div class="container">
5 <div class="docs-section-title">Hacks & Customizations</div>
9 <div class="container">
12 <aside class="col-md-2 sidebar">
13 <div class="sidebar-inner">
18 <li><a href="/hacks">All Hacks</a></li>
19 <li><a href="/hacks/applying/">Applying Hacks</a></li>
20 <li><a href="https://github.com/BookStackApp/hacks">Hacks Source Repo</a></li>
24 <h4>Other Hacking</h4>
26 <li><a href="/docs/admin/hacking-bookstack/">All Hacking Methods</a></li>
27 <li><a href="https://github.com/BookStackApp/api-scripts">Example API Scripts</a></li>
30 <div class="sidebar-inner mobile">
32 <li><a href="/hacks">All Hacks</a></li>
33 <li><a href="/hacks/applying/">Applying Hacks</a></li>
34 <li><a href="https://github.com/BookStackApp/hacks">Hacks Source Repo</a></li>
39 <main class="col-md-8 col-md-offset-1 hacks-content">
42 <div class="hack-warning">
43 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M4.47 21h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0L2.74 18c-.77 1.33.19 3 1.73 3zM12 14c-.55 0-1-.45-1-1v-2c0-.55.45-1 1-1s1 .45 1 1v2c0 .55-.45 1-1 1zm1 4h-2v-2h2v2z"/></svg>
45 These hacks are unsupported customizations meant as unofficial workarounds. <br>
46 They can cause instability, introduce issues and may conflict with future updates.
47 Apply at your own risk!
54 {{ if .Params.Tested }}
55 <ul class="hack-meta">
56 {{ $author := .Params.Author }}
57 <li><strong>Author:</strong> <a href="https://github.com/{{ strings.TrimLeft "@" $author }}" target="_blank">{{ $author }}</a></li>
58 <li><strong>Created:</strong> {{ .Date.Format "2" | humanize }} {{ .Date.Format "Jan 2006" }}</li>
59 <li><strong>Updated:</strong> {{ .Params.Updated.Format "2" | humanize }} {{ .Params.Updated.Format "Jan 2006" }}</li>
60 <li><strong>Last Tested On:</strong> {{ .Params.Tested }}</li>
67 {{ if .Params.Tested }}
72 <div class="hack-box-list">
73 {{ range first 4 ( where .Site.RegularPages "Section" "hacks") }}
75 {{ partial "list-hack" .}}
86 {{ partial "footer.html" . }}