Skip to content

Commit cc46a03

Browse files
authored
STYLE: Fix header issue remove extra spaces and some link fixes (pyOpenSci#103)
* STYLE: Fix header issue remove extra spaces * LINKS: small package url fix * BLOG: Remove category links to fix broken links throughout
1 parent c22c3b0 commit cc46a03

File tree

3 files changed

+28
-4
lines changed

3 files changed

+28
-4
lines changed

_data/packages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
- package-name: phenopype
8686
description: 'A phenotyping pipeline for Python.'
8787
maintainer: ["Moritz Lürig"]
88-
link: "https://github.com/mluerig/phenopype"
88+
link: "https://github.com/phenopype/phenopype"
8989
date-accepted:
9090
highlight:
9191
docs-url:

_includes/category-list.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{% case site.category_archive.type %}
2+
{% when "liquid" %}
3+
{% assign path_type = "#" %}
4+
{% when "jekyll-archives" %}
5+
{% assign path_type = nil %}
6+
{% endcase %}
7+
8+
{% if site.category_archive.path %}
9+
{% assign categories_sorted = page.categories | sort_natural %}
10+
11+
<p class="page__taxonomy">
12+
<strong><i class="fas fa-fw fa-folder-open" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].categories_label | default: "Categories:" }} </strong>
13+
<span itemprop="keywords">
14+
{% for category_word in categories_sorted %}
15+
<span class="page__taxonomy-item p-category">
16+
<!-- <a href="{{ category_word | slugify | prepend: path_type | prepend: site.category_archive.path | relative_url }}" class="page__taxonomy-item p-category" rel="tag"> -->
17+
{{ category_word }}
18+
<!-- </a> -->
19+
{% unless forloop.last %}
20+
</span>
21+
<span class="sep">, </span>{% endunless %}
22+
{% endfor %}
23+
</span>
24+
</p>
25+
{% endif %}

_includes/head/custom.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1+
<!-- custom head content-->
12
<link rel="icon" href="/images/favicon.ico" type="image/x-icon">
2-
3-
<div data-proofer-ignore>
43
<link rel="preconnect" href="https://fonts.googleapis.com" data-proofer-ignore>
54
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin data-proofer-ignore>
65
<link href="https://fonts.googleapis.com/css2?family=Raleway:wght@200;400;700family=Open+Sans:ital,wght@0,400;0,600;1,400&display=swap" rel="stylesheet" data-proofer-ignore>
7-
</div>
6+
<!-- END custom head content-->

0 commit comments

Comments
 (0)