Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions qiita_pet/templates/index.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
{% extends sitebase.html %}
{% block head %}
<script>
// the jumbotron is part of the main display of the entry page so if it's
// displayed we check it's lenght; if != 0 it's being displayed within
// another div or frame so reload page
if ($('#jumbotron').length != 0) {
this.location = this.location.origin;
}
</script>
{% end %}

{%block content %}
{% block content %}

<div id="jumbotron" class="jumbotron" style="border-radius: 10px; padding: 30px">
<h1>{% raw portal_styling.index_header%}</h1>
<h1>{% raw portal_styling.index_header %}</h1>
{% raw portal_styling.index_text%}
</div>
{% end %}