Skip to content

Commit 15dfe7c

Browse files
committed
[CHG] cache
1 parent f128ea3 commit 15dfe7c

File tree

69 files changed

+53
-21
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+53
-21
lines changed

README.md

config.toml

+6-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,9 @@ highlight_code = true
1919

2020
[extra]
2121
default_theme = "light"
22-
custom_subset = true
22+
copy_button = true
23+
footnote_backlinks = true
24+
25+
[extra.component]
26+
data_theme = "light"
27+
-62.1 KB
Binary file not shown.
-32.7 KB
Binary file not shown.
-27.4 KB
Binary file not shown.
-12.1 KB
Binary file not shown.
-7.54 KB
Binary file not shown.
-6.75 KB
Binary file not shown.
-12.1 KB
Binary file not shown.
-7.48 KB
Binary file not shown.
Binary file not shown.
-19.1 KB
Binary file not shown.
-13 KB
Binary file not shown.
-11.1 KB
Binary file not shown.
-19.1 KB
Binary file not shown.
-12.9 KB
Binary file not shown.
-11.1 KB
Binary file not shown.
-50.1 KB
Binary file not shown.
-29.2 KB
Binary file not shown.
-24.7 KB
Binary file not shown.
-32.2 KB
Binary file not shown.
-19 KB
Binary file not shown.
-16.4 KB
Binary file not shown.
-32.8 KB
Binary file not shown.
-19.2 KB
Binary file not shown.
-16.6 KB
Binary file not shown.
-52.3 KB
Binary file not shown.
-30.1 KB
Binary file not shown.
-25.7 KB
Binary file not shown.
-30.5 KB
Binary file not shown.
-18.2 KB
Binary file not shown.
-16 KB
Binary file not shown.
-30.6 KB
Binary file not shown.
-18.3 KB
Binary file not shown.
-16.1 KB
Binary file not shown.
-23.9 KB
Binary file not shown.
-14.1 KB
Binary file not shown.
-11.9 KB
Binary file not shown.
-21.8 KB
Binary file not shown.
-13.8 KB
Binary file not shown.
-11.7 KB
Binary file not shown.
-19 KB
Binary file not shown.
Binary file not shown.
-10.1 KB
Binary file not shown.
-16.3 KB
Binary file not shown.
-10.3 KB
Binary file not shown.
-9.42 KB
Binary file not shown.
-11.9 KB
Binary file not shown.
-6.34 KB
Binary file not shown.
-5.34 KB
Binary file not shown.
-11.2 KB
Binary file not shown.
-6.04 KB
Binary file not shown.
-5.09 KB
Binary file not shown.
-7.41 KB
Binary file not shown.
-4.32 KB
Binary file not shown.
-3.54 KB
Binary file not shown.
-10.1 KB
Binary file not shown.
-5.84 KB
Binary file not shown.
-4.81 KB
Binary file not shown.
-26.9 KB
Binary file not shown.
-15.7 KB
Binary file not shown.
-13.3 KB
Binary file not shown.

static/js/katex.min.js

-1
This file was deleted.

templates/base.html

+2-8
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,14 @@
2525
</div>
2626
{% include "partials/footer.html" %}
2727

28-
{# Add KaTeX functionality (loads CSS and JS) #}
29-
{%- if config.extra.katex and config.extra.katex == true or page.extra.katex and page.extra.katex == true -%}
30-
<link rel="stylesheet" href="{{ get_url(path='katex.min.css', trailing_slash=false) | safe }}">
31-
<script defer src="{{ get_url(path='js/katex.min.js', trailing_slash=false) | safe }}"></script>
32-
{%- endif -%}
33-
3428
{# Add copy button to codeblocks #}
3529
{%- if config.extra.copy_button and config.extra.copy_button == true or page.extra.copy_button and page.extra.copy_button == true -%}
36-
<script defer src="{{ get_url(path='js/copyCodeToClipboard.min.js', trailing_slash=false) | safe }}"/></script>
30+
<script defer src="{{ get_url(path='js/copyCodeToClipboard.min.js', trailing_slash=false) | safe }}"></script>
3731
{%- endif -%}
3832

3933
{# Add backlinks to footnotes #}
4034
{%- if config.extra.footnote_backlinks and config.extra.footnote_backlinks == true or page.extra.footnote_backlinks and page.extra.footnote_backlinks == true -%}
41-
<script defer src="{{ get_url(path='js/footnoteBacklinks.min.js', trailing_slash=false | safe )}}"/></script>
35+
<script defer src="{{ get_url(path='js/footnoteBacklinks.min.js', trailing_slash=false | safe )}}"></script>
4236
{%- endif -%}
4337
</body>
4438

templates/components/base.html

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<!DOCTYPE html>
2+
3+
{% import "macros/title.html" as macro_title %}
4+
{% import "macros/list_posts.html" as macro_list_posts %}
5+
{% import "macros/page_header.html" as macro_page_header %}
6+
{% import "macros/page_desc.html" as macro_page_desc %}
7+
{% import "macros/content.html" as macro_content %}
8+
{% import "macros/cards_pages.html" as macro_cards_pages %}
9+
{% import "macros/paginate.html" as macro_paginate %}
10+
{% import "macros/format_date.html" as macro_format_date %}
11+
12+
<html lang="{{ lang }}" {% if config.extra.component.data_theme -%} data-theme="{{config.extra.component.data_theme}}" {%- endif -%}>
13+
<head>
14+
<meta charset="UTF-8">
15+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
16+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
17+
<meta name="color-scheme" content="{%- if config.extra.component.theme_switcher -%}light dark{%- elif config.extra.component.data_theme -%}{{config.extra.component.data_theme}}{%- else -%}light{%- endif -%}">
18+
19+
{# Site title #}
20+
<title>{{ macro_title::title() }}</title>
21+
22+
{# Favicon #}
23+
{% if config.extra.component.favicon %}
24+
<link rel="icon" type="image/png" href={{ config.extra.component.favicon }} />
25+
{% endif %}
26+
{% if config.extra.component.favicon_emoji %}
27+
<link rel=icon href='data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg" viewBox="0 0 105 55"><text y=".7em" font-size="90">{{ config.extra.component.favicon_emoji }}</text></svg>'>
28+
{% endif %}
29+
30+
{# CSS #}
31+
<link rel="stylesheet" type="text/css" media="screen" href={{ get_url(path="main.css", cachebust=true ) }} />
32+
33+
34+
</head>
35+
<body>
36+
{% include "nav.html" %}
37+
<div class="content">
38+
{% block main_content %}
39+
{% endblock main_content %}
40+
</div>
41+
{% include "footer.html" %}
42+
</body>
43+
</html>

templates/components/footer.html

Whitespace-only changes.

templates/components/nav.html

Whitespace-only changes.

templates/macros/set_title.html templates/macros/title.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{%- macro set_title() -%}
1+
{%- macro title() -%}
22

33
{# Setup. #}
44
{%- set prefix = config.title | safe -%}

templates/partials/header.html

+1-10
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,10 @@
1313
{% if config.extra.favicon_emoji %}
1414
<link rel=icon href='data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg" viewBox="0 0 105 55"><text y=".7em" font-size="90">{{ config.extra.favicon_emoji }}</text></svg>'>
1515
{% endif %}
16-
17-
{# Feed #}
18-
<link rel="alternate" type="application/atom+xml" title="{{ config.title }}" href="{{ get_url(path="atom.xml",
19-
trailing_slash=false) }}">
2016

2117
{# CSS #}
22-
{# Load subset of glyphs for header. Avoids flashing issue in Firefox #}
23-
{% if config.extra.custom_subset == true %}
24-
<link rel="stylesheet" href={{ get_url(path="custom_subset.css" ) }}>
25-
{% elif lang == 'en' %}
18+
{% if lang == 'en' %}
2619
<link rel="stylesheet" href={{ get_url(path="inter_subset_en.css" ) }}>
27-
{% elif lang == 'es' %}
28-
<link rel="stylesheet" href={{ get_url(path="inter_subset_es.css" ) }}>
2920
{% endif %}
3021

3122
<link rel="stylesheet" type="text/css" media="screen" href={{ get_url(path="main.css", cachebust=true ) }} />

0 commit comments

Comments
 (0)