-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.exs
More file actions
94 lines (80 loc) · 2.21 KB
/
config.exs
File metadata and controls
94 lines (80 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
import Config
config :tableau, :reloader,
patterns: [
~r"^lib/.*.ex",
~r"^(_posts|_pages|_data)/.*.(md|yaml|yml)",
~r"^assets/.*.(css|js)"
]
config :web_dev_utils, :reload_log, true
config :soonex, :public_path_prefix, ""
config :esbuild,
version: "0.25.5",
default: [
args: ~w(js/site.js --bundle --format=esm --splitting --target=es2022 --outdir=../_site/js),
cd: Path.expand("../assets", __DIR__),
env: %{
"NODE_PATH" =>
[
Path.expand("../deps", __DIR__),
Path.expand("../node_modules", __DIR__)
]
|> Enum.join(":")
}
]
config :tailwind,
version: "4.1.0",
default: [
args: ~w(
--input=assets/css/site.css
--output=_site/css/site.css
)
]
if Mix.env() == :dev do
config :tableau, :assets,
tailwind: {Tailwind, :install_and_run, [:default, ~w(--watch)]},
esbuild: {Esbuild, :install_and_run, [:default, ~w(--watch)]}
end
config :tableau, :config,
url: "http://localhost:4999",
include_dir: Path.expand("../extra", __DIR__),
converters: [md: Soonex.MDExConverter],
markdown: [
mdex: [
extension: [
table: true,
header_ids: "",
tasklist: true,
strikethrough: true,
autolink: true,
alerts: true,
footnotes: true
],
render: [unsafe: true],
syntax_highlight: nil
]
]
config :tableau, Tableau.PageExtension, enabled: true
config :tableau, Tableau.PostExtension, enabled: true
config :tableau, Tableau.DataExtension, enabled: true
config :tableau, Tableau.SitemapExtension, enabled: true
config :tableau, Tableau.TagExtension,
enabled: true,
layout: Soonex.TagLayout,
permalink: "/tags",
tags: %{}
config :tableau, Tableau.RSSExtension,
enabled: true,
title: "Soonex",
description:
"Elixir static site template: Tableau, Corex, tokens, Tailwind v4, Markdown posts. Waitlist for launch updates."
config :elixir, :time_zone_database, Tz.TimeZoneDatabase
config :designex,
version: "1.0.2",
commit: "1da4b31",
cd: Path.expand("../assets", __DIR__),
dir: "corex",
corex: [
build_args: ~w(--dir=design --script=build.mjs --tokens=tokens)
]
config :phoenix, json_library: Jason
import_config "#{Mix.env()}.exs"