-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.edn
1 lines (1 loc) · 5.35 KB
/
config.edn
1
{:render-site ["bb" "run" "render-site"], :render-email ["bb" "run" "render-email"], :fields {:com.platypub.site/author-url {:label "Author URL"}, :com.platypub.site/logo-image {:label "Navbar logo image URL", :description "Suggested dimensions: 320x60 px", :type :image}, :com.platypub.post/canonical {:label "Canonical URL"}, :com.platypub.site/discourse-url {:label "Discourse forum URL", :description "Optional. If you set up a Discourse forum, you can use it to embed comments on your blog posts."}, :com.platypub.site/image {:label "Image", :type :image}, :nyc.jeffparker.jackies-theme.event/dt-end {:label "End datetime", :type :instant}, :com.platypub.site/logo-url {:label "Navbar logo destination URL", :description "Where should people go when they click on the logo?", :default "/"}, :com.platypub.site/description {:label "Description"}, :com.platypub.site/tertiary-color {:label "Tertiary color", :default "#f3f4f6"}, :com.platypub.site/accent-color {:label "Accent color", :default "#d97706"}, :nyc.jeffparker.jackies-theme.event/event-id {:label "Event id"}, :com.platypub.post/draft {:label "Draft", :type :boolean, :default true}, :com.platypub.post/image {:label "Image", :type :image}, :com.platypub.site/nav-links {:label "Navigation links", :default "/ Home\n/archive/ Archive\n/about/ About", :type :textarea}, :com.platypub.site/primary-color {:label "Primary color", :default "#181917"}, :com.platypub.site/author-name {:label "Author name"}, :com.platypub.site/redirects {:label "Redirects", :type :textarea}, :com.platypub.post/description {:label "Description", :type :textarea}, :com.platypub.site/home-logo {:label "Home logo image URL", :description "Optional. A larger logo to display on the home page.", :type :image}, :nyc.jeffparker.jackies-theme.event/slug {:label "Slug", :default [:slugify :com.platypub.post/title]}, :com.platypub.post/html {:type :html}, :com.platypub.site/embed-html {:label "Embed HTML", :description "This snippet will be injected into the head of every page. Useful for analytics.", :type :textarea}, :nyc.jeffparker.jackies-theme.event/location {:label "Location"}, :com.platypub.post/tags {:label "Tags", :type :tags}, :com.platypub.post/comments-url {:label "Comments URL", :description "Optional. Adds a post-specific \"View comments\" button to your emails."}, :com.platypub.post/slug {:label "Slug", :default [:slugify :com.platypub.post/title]}, :nyc.jeffparker.jackies-theme.event/source {:label "Event source"}, :nyc.jeffparker.jackies-theme.event/dt-start {:label "Start datetime", :type :instant}, :com.platypub.page/path {:label "Path", :default [:slugify :com.platypub.post/title]}, :com.platypub.site/author-image {:label "Author image URL", :type :image}, :com.platypub.post/published-at {:label "Published", :type :instant}, :com.platypub.site/comments-url {:label "Comments URL", :description "Optional. Adds a \"View comments\" button to your emails. Takes precedence over `Discourse forum URL`."}, :nyc.jeffparker.jackies-theme.event/status {:label "Status"}, :com.platypub.post/title {:label "Title"}}, :site-fields [:com.platypub.site/description :com.platypub.site/image :com.platypub.site/redirects :com.platypub.site/author-name :com.platypub.site/author-url :com.platypub.site/author-image :com.platypub.site/embed-html], :items [{:key :events, :label "Event", :slug "events", :query [:nyc.jeffparker.jackies-theme.event/slug], :fields [:com.platypub.post/title :nyc.jeffparker.jackies-theme.event/slug :com.platypub.post/draft :nyc.jeffparker.jackies-theme.event/location :com.platypub.post/published-at :nyc.jeffparker.jackies-theme.event/dt-start :nyc.jeffparker.jackies-theme.event/dt-end :com.platypub.post/tags :com.platypub.post/description :com.platypub.post/image :com.platypub.post/canonical :nyc.jeffparker.jackies-theme.event/event-id :nyc.jeffparker.jackies-theme.event/status :com.platypub.post/html], :sendable true, :render/label :com.platypub.post/title, :render/sections [{:label "Drafts", :match [[:com.platypub.post/draft true]], :order-by [[:com.platypub.post/title :desc]], :show [:com.platypub.post/tags]} {:label "Published", :match [:not [[:com.platypub.post/draft true]]], :order-by [[:com.platypub.post/published-at :desc]], :show [:com.platypub.post/published-at :com.platypub.post/tags]}]} {:key :posts, :label "Post", :slug "posts", :query [:com.platypub.post/slug], :fields [:com.platypub.post/title :com.platypub.post/slug :com.platypub.post/draft :com.platypub.post/published-at :com.platypub.post/tags :com.platypub.post/description :com.platypub.post/image :com.platypub.post/canonical :com.platypub.post/comments-url :com.platypub.post/html], :sendable true, :render/label :com.platypub.post/title, :render/sections [{:label "Drafts", :match [[:com.platypub.post/draft true]], :order-by [[:com.platypub.post/title :desc]], :show [:com.platypub.post/tags]} {:label "Published", :match [:not [[:com.platypub.post/draft true]]], :order-by [[:com.platypub.post/published-at :desc]], :show [:com.platypub.post/published-at :com.platypub.post/tags]}]} {:key :pages, :label "Page", :slug "pages", :query [:com.platypub.page/path], :fields [:com.platypub.post/title :com.platypub.page/path :com.platypub.post/draft :com.platypub.post/tags :com.platypub.post/description :com.platypub.post/image :com.platypub.post/html], :render/label :com.platypub.post/title, :render/sections [{:order-by [[:com.platypub.page/path :asc]], :show [:com.platypub.page/path]}]}]}