Adds benchmark intro to _config file and updates the UI a bit · RustPython/rustpython.github.io@aaffc4c · GitHub
Skip to content

Commit aaffc4c

Browse files
Adds benchmark intro to _config file and updates the UI a bit
1 parent d67dbc5 commit aaffc4c

4 files changed

Lines changed: 4 additions & 5 deletions

File tree

_config.yml

Lines changed: 1 addition & 0 deletions

_layouts/benchmarks.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<div class="benchmarks-intro">
2222
{{ content }}
2323
</div>
24-
24+
2525
{% assign folders = "" | split: ", " %}
2626
{% for folder in site.static_files %}
2727
{% if folder.path contains 'criterion/' %}
@@ -40,7 +40,7 @@
4040
{% else %}
4141
<ul class="tab" data-tab="benchmarks">
4242
{% for folder in folders %}
43-
<li {% if forloop.index==1 %} class="active" {% endif %}>
43+
<li {% if forloop.index==1 %} class="active" {% endif %} style="font-weight: bold;">
4444
<a href="">{{ folder }}</a>
4545
</li>
4646
{% endfor%}

assets/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ ul.list-inline {
279279
line-height: 1.5em;
280280
}
281281

282-
.blog-intro {
282+
.blog-intro, .benchmarks-intro {
283283
background-color: #f6f8fa;
284284
padding-left: 2em;
285285
padding-right: 2em;

benchmarks.markdown

Lines changed: 0 additions & 2 deletions

0 commit comments

Comments
 (0)