2024-11-08 18:33:02 +02:00
|
|
|
import Config
|
|
|
|
|
|
|
|
config :tableau, :reloader,
|
|
|
|
patterns: [
|
|
|
|
~r"^lib/.*.ex",
|
|
|
|
~r"^(_posts|_pages)/.*.md",
|
2024-11-18 17:10:08 +02:00
|
|
|
~r"%(_notes|_notes)/.*.md",
|
2024-11-08 18:33:02 +02:00
|
|
|
~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],
|
2024-11-18 17:10:08 +02:00
|
|
|
features: [syntax_highlight_theme: "nord"]
|
2024-11-08 18:33:02 +02:00
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
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"
|