Skip to content

Commit cacd7e0

Browse files
committed
Fix Swiper
1 parent 7196a1c commit cacd7e0

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

src/_config.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ author: Shane/Ralph
77
site_name: Django Files
88

99
menu:
10-
- name: Home
11-
link: /
12-
- name: Docs
13-
link: /docs/
14-
- name: iOS App
15-
link: /ios/
16-
- name: Web Extension
17-
link: /extension/
18-
- name: Screen Shots
19-
link: /screenshots/
10+
- name: Home
11+
link: /
12+
- name: Docs
13+
link: /docs/
14+
- name: iOS App
15+
link: /ios/
16+
- name: Web Extension
17+
link: /extension/
18+
- name: Screen Shots
19+
link: /screenshots/
2020

2121
github_name: django-files/web-extension
22-
github_url: https://github.com/django-files/django-files
22+
extension_github: https://github.com/django-files/web-extension
2323

2424
chrome_id: abpbiefojfkekhkjnpakpekkpeibnjej
2525
chrome_url: https://chromewebstore.google.com/detail/django-files/abpbiefojfkekhkjnpakpekkpeibnjej
@@ -30,6 +30,7 @@ firefox_url: https://addons.mozilla.org/en-US/firefox/addon/django-files/
3030
discord_invite: https://discord.gg/wXy6m2X8wY
3131
discord_server: 899171661457293343
3232

33-
extension_github: https://github.com/django-files/web-extension
3433
github_owner_repo: django-files/django-files
34+
github_url: https://github.com/django-files/django-files
35+
github_org: https://github.com/django-files
3536
relay_url: https://relay.cssnr.com/discord/1258944618389569566

src/_layouts/default.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
</li>
7777

7878
<li class="nav-item">
79-
<a class="nav-link hvr-grow-lg" href="{{ site.github_url }}?tab=readme-ov-file#readme" target="_blank" rel="noopener">
79+
<a class="nav-link hvr-grow-lg" href="{{ site.github_org }}" target="_blank" rel="noopener">
8080
<i class="fa-brands fa-github fa-xl"></i></a>
8181
</li>
8282

@@ -109,7 +109,7 @@
109109
<div class="container-fluid py-2">
110110
<div class="d-flex flex-column flex-md-row">
111111
<div class="me-md-auto mb-2 mb-md-0">
112-
<a class="link-body-emphasis text-decoration-none" href="{{ site.github_url }}?tab=readme-ov-file#readme" target="_blank" rel="noopener">
112+
<a class="link-body-emphasis text-decoration-none" href="{{ site.github_org }}" target="_blank" rel="noopener">
113113
<i class="fab fa-github"></i> {{ site.site_name }}</a>
114114
</div>
115115
<div class="ms-md-auto">

src/html/docs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ <h1 class="animate__animated animate__zoomIn"><i class="fa-regular fa-file-lines
1313

1414
<p>
1515
Please see the
16-
<a href="{{ site.github_url }}#table-of-contents" target="_blank" rel="noopener">README.md</a>
16+
<a href="{{ site.github_url }}?tab=readme-ov-file#readme" target="_blank" rel="noopener">README.md</a>
1717
for more information.
1818
</p>
1919

src/html/screenshots.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
</div>
2323

2424

25-
{% comment %}<script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/11.0.5/swiper-bundle.min.js" integrity="sha512-Ysw1DcK1P+uYLqprEAzNQJP+J4hTx4t/3X2nbVwszao8wD+9afLjBQYjz7Uk4ADP+Er++mJoScI42ueGtQOzEA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>{% endcomment %}
26-
<script type="text/javascript" src="{{ "/dist/swiper/swiper-bundle.min.js" | relative_url }}"></script>
25+
<script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/11.0.5/swiper-bundle.min.js" integrity="sha512-Ysw1DcK1P+uYLqprEAzNQJP+J4hTx4t/3X2nbVwszao8wD+9afLjBQYjz7Uk4ADP+Er++mJoScI42ueGtQOzEA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
2726
<script type="text/javascript" src="{{ "/js/vars.js" | relative_url }}"></script>
2827
<script type="text/javascript" src="{{ "/js/screenshots.js" | relative_url }}"></script>

0 commit comments

Comments
 (0)