Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
duniter_website_fr_v2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
codingsh
duniter_website_fr_v2
Commits
c522c251
Commit
c522c251
authored
4 years ago
by
Hugo Trentesaux
Browse files
Options
Downloads
Patches
Plain Diff
about
parent
9c6c0ace
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
content/about.md
+8
-0
8 additions, 0 deletions
content/about.md
templates/nav.html
+14
-12
14 additions, 12 deletions
templates/nav.html
with
22 additions
and
12 deletions
content/about.md
0 → 100644
+
8
−
0
View file @
c522c251
+++
title = "À propos"
[extra]
hide = true
+++
Ce site a été réalisé en
[
Zola
](
https://www.getzola.org/
)
avec
[
w3.css
](
https://www.w3schools.com/w3css/
)
et
[
Forkawesome
](
https://forkaweso.me/Fork-Awesome/
)
.
\ No newline at end of file
This diff is collapsed.
Click to expand it.
templates/nav.html
+
14
−
12
View file @
c522c251
...
@@ -3,29 +3,31 @@
...
@@ -3,29 +3,31 @@
{% set index = get_section(path="_index.md") %}
{% set index = get_section(path="_index.md") %}
{% for page in index.pages %}
{% for page in index.pages %}
{% if not page.extra.hide %}
<a
href=
"{{ page.permalink }}"
class=
"w3-bar-item w3-button w3-mobile
<a
href=
"{{ page.permalink }}"
class=
"w3-bar-item w3-button w3-mobile
{% if current_path %}{% if current_path == page.path %}active{% endif %}{% endif %}"
>
{% if current_path %}{% if current_path == page.path %}active{% endif %}{% endif %}"
>
{{page.title}}
{{page.title}}
</a>
</a>
{% endfor %}
{% endif %}
{% for s in index.subsections %}{% set subsection = get_section(path=s) %}
<a
href=
"{{ subsection.permalink }}"
class=
"w3-bar-item w3-button w3-mobile
{% if current_path %}{% if current_path is starting_with(subsection.path) %}active{% endif %}{% endif %}"
>
{{subsection.title}}
</a>
{% endfor %}
{% endfor %}
<div
class=
"w3-dropdown-hover w3-mobile w3-right"
>
<div
class=
"w3-dropdown-hover w3-mobile w3-right"
>
<button
class=
"w3-button"
>
Dropdown
<i
class=
"fa fa-caret-down"
></i></button>
<button
class=
"w3-button"
>
Plus
<i
class=
"fa fa-caret-down"
></i></button>
<div
class=
"w3-dropdown-content w3-bar-block w3-dark-grey"
>
<div
class=
"w3-dropdown-content w3-bar-block w3-dark-grey"
>
<a
href=
"
#
"
class=
"w3-bar-item w3-button w3-mobile"
>
Link 1
</a>
<a
href=
"
/about/
"
class=
"w3-bar-item w3-button w3-mobile"
>
À propos
</a>
<a
href=
"
#
"
class=
"w3-bar-item w3-button w3-mobile"
>
Link 2
</a>
<a
href=
"
https://git.duniter.org/
"
class=
"w3-bar-item w3-button w3-mobile"
>
<i
class=
"fa fa-gitlab"
></i>
GitLab
</a>
<a
href=
"
#
"
class=
"w3-bar-item w3-button w3-mobile"
>
Link 3
</a>
<a
href=
"
https://forum.duniter.org/
"
class=
"w3-bar-item w3-button w3-mobile"
>
<i
class=
"fa fa-discourse"
></i>
Forum
</a>
</div>
</div>
</div>
</div>
{% for s in index.subsections %}{% set subsection = get_section(path=s) %}
{% if not subsection.extra.hide %}
<a
href=
"{{ subsection.permalink }}"
class=
"w3-bar-item w3-button w3-mobile w3-right
{% if current_path %}{% if current_path is starting_with(subsection.path) %}active{% endif %}{% endif %}"
>
{{subsection.title}}
</a>
{% endif %}
{% endfor %}
</nav>
</nav>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment