mirror of
https://github.com/usetrmnl/terminus.git
synced 2026-08-13 14:29:27 -07:00
Small consistency tweaks to give the values within the Liquid templates more breathing room. Milestone: patch
26 lines
556 B
Ruby
26 lines
556 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Terminus
|
|
module Aspects
|
|
module Extensions
|
|
DEFAULTS = {
|
|
tags: [],
|
|
mode: "light",
|
|
kind: "poll",
|
|
verb: "get",
|
|
start_at: Time.now.strftime("%Y-%m-%dT00:00:00"),
|
|
days: [],
|
|
interval: 1,
|
|
template: <<~BODY
|
|
<div class="{{ extension.css_classes }}">
|
|
<div class="view view--full">
|
|
<div class="layout layout--col">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
BODY
|
|
}.freeze
|
|
end
|
|
end
|
|
end
|