website/config/config.exs

37 lines
969 B
Elixir

import Config
config :tableau, :reloader,
patterns: [
~r"^lib/.*.ex",
~r"^(_posts|_pages)/.*.md",
~r"%(_notes|_notes)/.*.md",
~r"assets/.*.(css|js)",
]
config :web_dev_utils, :reload_log, true
config :tableau, :config,
url: "http://localhost:4999",
timezone: "Europe/Helsinki",
include_dir: "static",
markdown: [
mdex: [
extension: [table: true, header_ids: "", tasklist: true, strikethrough: true],
render: [unsafe_: true],
features: [syntax_highlight_theme: "nord"]
]
]
config :tableau, Tableau.PageExtension, enabled: true
config :tableau, Tableau.PostExtension, enabled: true, future: true
config :tableau, Tableau.DataExtension, enabled: true
config :tableau, Tableau.SitemapExtension, enabled: true
config :tableau, Tableau.RSSExtension,
enabled: true,
title: "site",
description: "My beautiful website"
config :elixir, :time_zone_database, Tz.TimeZoneDatabase
import_config "#{Mix.env()}.exs"