-
Notifications
You must be signed in to change notification settings - Fork 2k
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 #7677 from pdelboca/remove-homepage-style-config
Remove homepage_style config
- Loading branch information
Showing
28 changed files
with
75 additions
and
350 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
`homepage_style` variable has been removed. `layout1.html` code has been moved into `home/index.html` as it will be the only layout available. |
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 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,18 +1,56 @@ | ||
{% extends "page.html" %} | ||
{% set homepage_style = ( g.homepage_style or '1' ) %} | ||
|
||
{% block subtitle %}{{ _("Welcome") }}{% endblock %} | ||
|
||
{% block maintag %}{% endblock %} | ||
{% block toolbar %}{% endblock %} | ||
|
||
{% block content %} | ||
<div class="homepage layout-{{ homepage_style }}"> | ||
<div id="content" class="container"> | ||
{{ self.flash() }} | ||
<div class="homepage"> | ||
<div id="content" class="container"> | ||
{{ self.flash() }} | ||
</div> | ||
{% block primary_content %} | ||
<div role="main"> | ||
<div class="main hero"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-6"> | ||
{% block promoted %} | ||
{% snippet 'home/snippets/promoted.html' %} | ||
{% endblock %} | ||
</div> | ||
<div class="col-md-6"> | ||
{% block search %} | ||
{% snippet 'home/snippets/search.html', search_facets=search_facets %} | ||
{% endblock %} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="main module-feeds"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-6"> | ||
{# Note: this featured_group block is used as an example in the theming | ||
tutorial in the docs! If you change this code, be sure to check | ||
whether you need to update the docs. #} | ||
{# Start template block example. #} | ||
{% block featured_group %} | ||
{% snippet 'home/snippets/featured_group.html' %} | ||
{% endblock %} | ||
{# End template block example. #} | ||
</div> | ||
<div class="col-md-6"> | ||
{% block featured_organization %} | ||
{% snippet 'home/snippets/featured_organization.html' %} | ||
{% endblock %} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{% block primary_content %} | ||
{% snippet "home/layout{0}.html".format(homepage_style), search_facets=search_facets %} | ||
{% endblock %} | ||
</div> | ||
{% endblock %} | ||
{% endblock %} | ||
</div> | ||
{% endblock %} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.