-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from Enveloppe/repo-sync/wiki/default
🔄 synced file(s) with Mara-Li/wiki
- Loading branch information
Showing
3 changed files
with
46 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,40 @@ | ||
{% extends "base.html" %} | ||
|
||
{% block extrahead %} | ||
<script src="https://unpkg.com/@popperjs/core@2/dist/umd/popper.min.js"></script> | ||
<script src="https://unpkg.com/tippy.js@6/dist/tippy-bundle.umd.js"></script> | ||
<link | ||
rel="stylesheet" | ||
href="https://unpkg.com/tippy.js@6/animations/scale-subtle.css" | ||
/> | ||
<link | ||
rel="stylesheet" | ||
href="https://unpkg.com/tippy.js@6/themes/translucent.css" | ||
/> | ||
<link | ||
rel="stylesheet" | ||
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" | ||
integrity="sha512-Fo3rlrZj/k7ujTnHg4CGR2D7kSs0v4LLanw2qksYuRlEzO+tcaEPQogQ0KaoGN26/zrn20ImR1DfuLWnOo7aBA==" | ||
crossorigin="anonymous" | ||
referrerpolicy="no-referrer" | ||
/> | ||
{% include "partials/meta.html" %} | ||
{% endblock %} | ||
{% block content %} | ||
{{ super() }} | ||
{% include "partials/css_class.html" %} | ||
{% include "partials/comments.html" %} | ||
{% set pg_title = 'title' | value_in_frontmatter(page.meta) %} | ||
{% set pg_title = page.meta.title if pg_title is not none else page.title %} | ||
{% set pg_title = page.parent.title if pg_title == 'Index' else pg_title %} | ||
<script> | ||
try { | ||
const index = document.querySelector('h1').innerHTML; | ||
if (index === "Index") { | ||
document.querySelector('h1').innerHTML = "{{ pg_title }}"; | ||
} | ||
} catch (error) { | ||
// console.log(error); | ||
} | ||
</script> | ||
{% extends "base.html" %} | ||
|
||
{% block extrahead %} | ||
<script src="https://unpkg.com/@popperjs/core@2/dist/umd/popper.min.js"></script> | ||
<script src="https://unpkg.com/tippy.js@6/dist/tippy-bundle.umd.js"></script> | ||
<link | ||
rel="stylesheet" | ||
href="https://unpkg.com/tippy.js@6/animations/scale-subtle.css" | ||
/> | ||
<link | ||
rel="stylesheet" | ||
href="https://unpkg.com/tippy.js@6/themes/translucent.css" | ||
/> | ||
<link | ||
rel="stylesheet" | ||
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" | ||
integrity="sha512-Fo3rlrZj/k7ujTnHg4CGR2D7kSs0v4LLanw2qksYuRlEzO+tcaEPQogQ0KaoGN26/zrn20ImR1DfuLWnOo7aBA==" | ||
crossorigin="anonymous" | ||
referrerpolicy="no-referrer" | ||
/> | ||
{% include "partials/meta.html" %} | ||
{% endblock %} | ||
{% block content %} | ||
{{ super() }} | ||
{% include "partials/css_class.html" %} | ||
{% include "partials/comments.html" %} | ||
{% set pg_title = 'title' | value_in_frontmatter(page.meta) %} | ||
{% set pg_title = page.meta.title if pg_title is not none else page.title %} | ||
{% set pg_title = page.parent.title if pg_title == 'Index' else pg_title %} | ||
<script> | ||
try { | ||
const index = document.querySelector('h1').innerHTML; | ||
if (index === "Index") { | ||
document.querySelector('h1').innerHTML = "{{ pg_title }}"; | ||
} | ||
} catch (error) { | ||
// console.log(error); | ||
} | ||
</script> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters