Switch to unified view

a b/qiita_pet/templates/index.html
1
{% extends sitebase.html %}
2
{% block head %}
3
<script>
4
  // the jumbotron is part of the main display of the entry page so if it's
5
  // displayed we check it's lenght; if != 0 it's being displayed within
6
  // another div or frame so reload page
7
  if ($('#jumbotron').length != 0) {
8
    this.location = this.location.origin;
9
  }
10
</script>
11
{% end %}
12
13
{% block content %}
14
15
<div id="jumbotron" class="jumbotron" style="border-radius: 10px; padding: 30px">
16
  <h1>{% raw portal_styling.index_header %}</h1>
17
  {% raw portal_styling.index_text%}
18
</div>
19
{% end %}