Skip to content

Commit 676a229

Browse files
author
rahendatri
committed
checkpoint before changing theme
1 parent 6f3a0b4 commit 676a229

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

_includes/navigation.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<nav>
22
{% for item in site.data.navigation %}
33
<!-- Here CSS class is used to prevent incline CSS (which is not recommended) -->
4-
<a href="{{ item.link }}" {% if page.url == item.link %}class="current"{% endif %}>
4+
<h3><a href="{{ item.link }}" {% if page.url == item.link %}class="current"{% endif %}>
55
{{ item.name }}
6-
</a>
6+
</a></h3>
77
{% endfor %}
88
</nav>

_layouts/default.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
<!DOCTYPE html>
2+
<!-- This is default layout of Cayman theme. I copied this to customise it further -->
23
<html lang="{{ site.lang | default: "en-US" }}">
34
<head>
45
<meta charset="UTF-8">
56
<title>{{ page.title.fr }}</title>
67

8+
{% feed_meta %}
79
{% seo %}
810
<link rel="preconnect" href="https://fonts.gstatic.com">
911
<link rel="preload" href="https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap" as="style" type="text/css" crossorigin>
@@ -22,7 +24,7 @@
2224
<h1 class="project-name">{{ page.title.fr | default: site.title.fr | default: site.github.repository_name }}</h1>
2325
<h1 class="project-name">{{ page.title.id | default: site.title.id | default: site.github.repository_name }}</h1>
2426
<h2 class="project-tagline">{{ page.description.fr | default: site.description.fr | default: site.github.project_tagline }}</h2>
25-
<h2 class="project-tagline">{{ page.description.id | default: site.description.fr | default: site.github.project_tagline }}</h2>
27+
<h2 class="project-tagline">{{ page.description.id | default: site.description.id | default: site.github.project_tagline }}</h2>
2628
{% if site.github.is_project_page %}
2729
<a href="{{ site.github.repository_url }}" class="btn">View on GitHub</a>
2830
{% endif %}
@@ -37,10 +39,10 @@ <h2 class="project-tagline">{{ page.description.id | default: site.description.f
3739
{{ content }}
3840

3941
<footer class="site-footer">
40-
{% if site.github.is_project_page %}
42+
<!-- {% if site.github.is_project_page %}
4143
<span class="site-footer-owner"><a href="{{ site.github.repository_url }}">{{ site.github.repository_name }}</a> is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a>.</span>
4244
{% endif %}
43-
<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a>.</span>
45+
<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a>.</span> -->
4446
</footer>
4547
</main>
4648
</body>

0 commit comments

Comments
 (0)