-
-
Notifications
You must be signed in to change notification settings - Fork 3
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 #19 from paulocoutinhox/time-module
better time module and send it to template
- Loading branch information
Showing
10 changed files
with
108 additions
and
97 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
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
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
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,9 +1,9 @@ | ||
<!-- google analytics --> | ||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-G78ENDV04Q"></script> | ||
<script> | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag() { dataLayer.push(arguments); } | ||
gtag('js', new Date()); | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag() { dataLayer.push(arguments); } | ||
gtag('js', new Date()); | ||
|
||
gtag('config', 'G-G78ENDV04Q'); | ||
gtag('config', 'G-G78ENDV04Q'); | ||
</script> |
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,37 +1,38 @@ | ||
<!-- header --> | ||
<header> | ||
<!-- navbar --> | ||
<nav class="navbar navbar-expand-md navbar-light bg-light"> | ||
<div class="container-fluid"> | ||
<a class="navbar-brand" href="{{ url_for('index') }}"> | ||
<img src="/assets/images/logo-mini.png" alt="Logo"> | ||
</a> | ||
<!-- navbar --> | ||
<nav class="navbar navbar-expand-md navbar-light bg-light"> | ||
<div class="container-fluid"> | ||
<a class="navbar-brand" href="{{ url_for('index') }}"> | ||
<img src="/assets/images/logo-mini.png" alt="Logo"> | ||
</a> | ||
|
||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" | ||
aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" | ||
aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
|
||
<div class="collapse navbar-collapse" id="navbarCollapse"> | ||
<div class="collapse navbar-collapse" id="navbarCollapse"> | ||
|
||
<ul class="navbar-nav ms-auto mb-2 mb-md-0"> | ||
<li class="nav-item"> | ||
<a class="nav-link {% if kaktos.path == 'index' %}active{% endif %}" {% if kaktos.path=='index' %} | ||
aria-current="page" {% endif %} href="{{ url_for('index') }}">Home</a> | ||
</li> | ||
<ul class="navbar-nav ms-auto mb-2 mb-md-0"> | ||
<li class="nav-item"> | ||
<a class="nav-link {% if kaktos.path == 'index' %}active{% endif %}" {% if kaktos.path=='index' | ||
%} aria-current="page" {% endif %} href="{{ url_for('index') }}">Home</a> | ||
</li> | ||
|
||
<li class="nav-item"> | ||
<a class="nav-link {% if kaktos.path == 'gallery' %}active{% endif %}" {% if kaktos.path=='gallery' %} | ||
aria-current="page" {% endif %} href="{{ url_for('page', path='gallery') }}">Gallery</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link {% if kaktos.path == 'gallery' %}active{% endif %}" {% if | ||
kaktos.path=='gallery' %} aria-current="page" {% endif %} | ||
href="{{ url_for('page', path='gallery') }}">Gallery</a> | ||
</li> | ||
|
||
<li class="nav-item"> | ||
<a class="nav-link {% if kaktos.path == 'about' %}active{% endif %}" {% if kaktos.path=='about' %} | ||
aria-current="page" {% endif %} href="{{ url_for('page', path='about') }}">About</a> | ||
</li> | ||
</ul> | ||
<li class="nav-item"> | ||
<a class="nav-link {% if kaktos.path == 'about' %}active{% endif %}" {% if kaktos.path=='about' | ||
%} aria-current="page" {% endif %} href="{{ url_for('page', path='about') }}">About</a> | ||
</li> | ||
</ul> | ||
|
||
</div> | ||
</div> | ||
</nav> | ||
</div> | ||
</div> | ||
</nav> | ||
</header> |
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,11 +1,11 @@ | ||
<!-- page container start --> | ||
{% macro page_container_start() -%} | ||
<main> | ||
<div class="container"> | ||
<div class="container"> | ||
{%- endmacro %} | ||
|
||
<!-- page container end --> | ||
{% macro page_container_end() -%} | ||
</div> | ||
</div> | ||
</main> | ||
{%- endmacro %} |