-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathutils.jl
More file actions
29 lines (24 loc) · 695 Bytes
/
utils.jl
File metadata and controls
29 lines (24 loc) · 695 Bytes
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
using TOML, FranklinUtils
const ROOT = Franklin.FOLDER_PATH[]
const CONF = TOML.parsefile("./config.toml")
include("./utils/cover.jl")
include("./utils/sidebar.jl")
include("./utils/showcase.jl")
include("./utils/cards.jl")
include("./utils/nav.jl")
include("./utils/software.jl")
include("./utils/posts.jl")
include("./utils/gallery.jl")
hfun_author_name() = CONF["general"]["author"]
hfun_author_bio() = CONF["general"]["my_bio"]
hfun_author_pronouns() = CONF["general"]["pronouns"]
function hfun_pronouns_heading()
"<p class=\"pronouns\">
$(CONF["general"]["pronouns"])
</p>"
end
function hfun_short_bio()
"<p class=\"short-bio\">
$(CONF["general"]["my_bio"])
</p>"
end