@def website_title = "Fredrik Ekre" @def website_description = "My personal website. I am a PhD student in computational mechanics and enjoy programming. Sometimes post about research, programming, and other topics." @def website_url = "https://fredrikekre.se" @def generate_rss = true
+++
_include = ["_assets/", "_css/", "_libs/", "_layout/", "index.html", "404.md", "posts/", "about/"] _exclude = if get(ENV, "FRANKLIN_OPTIMIZE", nothing) == "true" # ["_libs/highlight/highlight.min.js"] String[] else String[] end ignore = [setdiff([isfile(x) ? x : x * "/" for x in readdir()], _include); _exclude] +++
@def sitename = "Fredrik Ekre" @def author.name = "Fredrik Ekre" @def author = "Fredrik Ekre"
@def social = ( github = "https://github.com/fredrikekre", ssh = "/keys/fredrikekre_rsa.pub", )
@def logo.mark = "$" @def logo.text = "cd /home/fredrik"
@def menu = [ (name = "posts", url = "/posts/"), #(name = "research", url = "/research/"), (name = "about", url = "/about/"), ]
\newcommand{\codetoggle}[1]{
<div class="toggle-code-wrap" style="position:relative">
<input id="{{ unique_id new }}" type="checkbox" checked=true">
<label for="{{ unique_id }}" class="switch">
<span class="slider round"></span>
</label>
<div class="toggle-code-new">
!#1
</div>
<div class="toggle-code-old">
!#1
</div>
</div>
}