Skip to content

Commit 3ea9158

Browse files
committed
Update Minimal Mistakes to 4.26.0
1 parent 121da7d commit 3ea9158

File tree

6 files changed

+13
-98
lines changed

6 files changed

+13
-98
lines changed

Gemfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
source 'https://rubygems.org/'
22

3-
gem 'jekyll', '~> 4.2'
4-
gem 'minimal-mistakes-jekyll', '~> 4.0', '>= 4.24'
3+
gem 'jekyll', '~> 4.3'
4+
gem 'minimal-mistakes-jekyll', '~> 4.0', '>= 4.26'
55
gem 'liquid-c', '~> 4.0'
66

77
if ENV['LSI'] == 'true'

_config.yml

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ logo : "/static/lug-penguin.png" # path of logo image to dis
2828
masthead_title : # overrides the website title displayed in the masthead, use " " for no title
2929
breadcrumbs : # true, false (default)
3030
words_per_minute : 350
31+
enable_copy_code_button : true
3132
comments:
3233
provider : # false (default), "disqus", "discourse", "facebook", "staticman", "staticman_v2", "utterances", "custom"
3334
disqus:

_includes/head.html

+8-18
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,19 @@
22

33
{% include seo.html %}
44

5-
<link href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
5+
{% unless site.atom_feed.hide %}
6+
<link href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
7+
{% endunless %}
68

7-
<!-- https://t.co/dKP3o1e -->
9+
{%- comment %} https://docs.google.com/presentation/d/1rmxwWa9P6_xHqonmh5ONXRS-jPc5XKbnv99Rjkhe04s/present {% endcomment -%}
810
<meta name="viewport" content="width=device-width, initial-scale=1.0">
911
{% include_cached favicon.html %}
1012

11-
<script>
13+
<script type="text/javascript">
1214
document.documentElement.className = document.documentElement.className.replace(/\bno-js\b/g, '') + ' js ';
15+
{% if site.enable_copy_code_button -%}
16+
window.enable_copy_code_button = true;
17+
{%- endif %}
1318
</script>
1419

1520
<!-- For all browsers -->
@@ -22,21 +27,6 @@
2227
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:400,700" media="invalid" onload="this.media='all'">
2328
{% endif %}
2429

25-
<!--[if IE]>
26-
<style>
27-
/* old IE unsupported flexbox fixes */
28-
.greedy-nav .site-title {
29-
padding-right: 3em;
30-
}
31-
.greedy-nav button {
32-
position: absolute;
33-
top: 0;
34-
right: 0;
35-
height: 100%;
36-
}
37-
</style>
38-
<![endif]-->
39-
4030
{% if site.head_scripts %}
4131
{% for script in site.head_scripts %}
4232
<script src="{{ script | relative_url }}"></script>

_includes/paginator.html

-76
This file was deleted.

robots.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
User-Agent: *
22
Allow: /
3-
Sitemap: https://lug.ustc.edu.cn/sitemap.xml
3+
Sitemap: https://lug.ustc.edu.cn/sitemap.xml

shell.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ with pkgs; mkShell {
1111
];
1212

1313
LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";
14-
}
14+
}

0 commit comments

Comments
 (0)