mirror of
https://github.com/nikdoof/website-hugo.git
synced 2025-12-14 09:12:20 +00:00
Move site specific layouts and JS to the site folders
This commit is contained in:
15
layouts/shortcodes/facilities.html
Normal file
15
layouts/shortcodes/facilities.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<div class="columns pricing-tiers is-centered is-multiline">
|
||||
{{- range (where .Site.RegularPages "Section" "facilities") }}
|
||||
<div class="column is-one-quarter">
|
||||
<div class="box is-large hover-items">
|
||||
<h3 class="is-size-4 has-text-weight-bold">{{ .Title }}</h3>
|
||||
<div class="content mt-5 facility-description">
|
||||
<p>{{ .Params.subtitle }}</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
<a href="{{ .Permalink }}" class="button is-primary is-medium is-fullwidth has-box-shadow ">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
10
layouts/shortcodes/printers.html
Normal file
10
layouts/shortcodes/printers.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<template id="printer-block">
|
||||
<div class="column is-one-quarter">
|
||||
<div class="box">
|
||||
<h3 id="printer-name"></h3>
|
||||
<p id="printer-status"></p>
|
||||
<p class="is-hidden" id="printer-finish-block">ETA: <span id="printer-finish"></span></p>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<div class="columns is-centered" id="printer-status"></div>
|
||||
Reference in New Issue
Block a user