-
-
Notifications
You must be signed in to change notification settings - Fork 278
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: move twigs into subfolders * feat: update html of twig files * feat: simplified php template files in getting the context Co-authored-by: Lukas Gaechter <[email protected]>
- Loading branch information
Showing
40 changed files
with
314 additions
and
312 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<!DOCTYPE html> | ||
<html {{ site.language_attributes }}> | ||
{% block head %} | ||
{% include 'partials/head.twig' %} | ||
{% endblock %} | ||
|
||
<body class="{{ body_class }}"> | ||
{{ function('wp_body_open') }} | ||
<a class="skip-link screen-reader-text" href="#content">{{ _e('Skip to content') }}</a> | ||
<header class="header"> | ||
{% block header %} | ||
<div class="wrapper"> | ||
<h1 class="hdr-logo"> | ||
<a class="hdr-logo-link" href="{{ site.url }}">{{ site.name }}</a> | ||
</h1> | ||
<nav id="nav-main" class="nav-main"> | ||
{% include 'partials/menu.twig' with { | ||
items: menu.get_items | ||
} %} | ||
</nav> | ||
<!-- #nav --> | ||
</div> | ||
{% endblock %} | ||
</header> | ||
|
||
<section id="content" class="content-wrapper"> | ||
{% if title %} | ||
<h1>{{ title }}</h1> | ||
{% endif %} | ||
<div class="wrapper"> | ||
{% block content %} | ||
Sorry, no content | ||
{% endblock %} | ||
</div> | ||
</section> | ||
|
||
{% block footer %} | ||
{% include 'partials/footer.twig' %} | ||
{% endblock %} | ||
{{ function('wp_footer') }} | ||
{% do action('get_footer') %} | ||
</body> | ||
</html> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
32 changes: 18 additions & 14 deletions
32
views/comment-form.twig → views/partials/comment-form.twig
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
Oops, something went wrong.