Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ff26dcf

Browse files
committed
Adds ko-fi to hero and social links
1 parent 5f907d2 commit ff26dcf

File tree

2 files changed

+43
-13
lines changed

2 files changed

+43
-13
lines changed

‎mkdocs.yml‎

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
# Project information
2-
site_name: 'Mobile Coding Hub'
2+
site_name: Mobile Coding Hub
33
site_description:
44
The conventional barriers of PC Only Coding are being broken day to day by the advancement in technologies.
55
At MCH, we aspire to make the masses more aware about the possibilities of mobile coding. May it be your phone/tablet/browser on a toaster!(Yes, they do exist!)
6-
site_author: 'AXVin'
7-
site_url: 'https://mobile-coding-hub.github.io'
6+
site_author: AXVin
7+
site_url: https://mobile-coding-hub.github.io
88

99
# Repository
10-
repo_name: 'mobile-coding-hub/mobile-coding-hub.github.io'
11-
repo_url: 'https://github.com/mobile-coding-hub/mobile-coding-hub.github.io'
10+
repo_name: mobile-coding-hub
11+
repo_url: https://github.com/mobile-coding-hub/mobile-coding-hub.github.io
12+
edit_uri: edit/docs/docs
1213

1314

1415
# Copyright
@@ -19,25 +20,26 @@ nav:
1920
- Home: index.md
2021
- Getting Started: started.md
2122
- Termux:
22-
- Introduction: termux/index.md
23+
- Termux: termux/index.md
2324
- Installation: termux/installation.md
2425
- Customisation:
2526
- Introduction: termux/customisation/index.md
2627
- Extra Keys: termux/customisation/extra_keys.md
28+
- Python: termux/python.md
2729
- Help & Support: support.md
2830

2931
# Configuration
3032
theme:
31-
name: 'material'
32-
custom_dir: 'themes'
33-
language: 'en'
33+
name: material
34+
custom_dir: themes
35+
language: en
3436
palette:
3537
scheme: slate
36-
primary: 'teal'
37-
accent: 'orange'
38+
primary: teal
39+
accent: orange
3840
font:
39-
text: 'Roboto'
40-
code: 'Roboto Mono'
41+
text: Roboto
42+
code: Roboto Mono
4143
feature:
4244
- tabs
4345
logo: 'images/MCH_Mobile.svg'
@@ -68,6 +70,8 @@ extra:
6870
link: https://bitbucket.org/AXVin
6971
- icon: material/instagram
7072
link: https://instagram.com/__axvin__
73+
- icon: material/coffee
74+
link: https://ko-fi.com/AXVin
7175
version: 1.2
7276

7377
# Extensions

‎themes/partials/hero.html‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<!-- Determine class according to level -->
2+
{% set class = "md-hero" %}
3+
{% if "tabs" not in config.theme.features %}
4+
{% set class = "md-hero md-hero--expand" %}
5+
{% endif %}
6+
7+
<!-- Hero teaser -->
8+
<div class="{{ class }}" data-md-component="hero">
9+
<div class="md-hero__inner md-grid">
10+
{{ page.meta.hero }}
11+
12+
<div class="ko-fi">
13+
<script type='text/javascript' src='https://ko-fi.com/widgets/widget_2.js'></script>
14+
<script type='text/javascript'>
15+
kofiwidget2.init('Buy me a Ko-fi', '#29abe0', 'D1D41VSPS');
16+
kofiwidget2.draw();
17+
</script>
18+
</div>
19+
</div>
20+
</div>
21+
22+
<style>
23+
.ko-fi {
24+
padding-top: 8px;
25+
}
26+
</style>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /