Skip to content

Commit

Permalink
Figured out how to use redditReturn pieces
Browse files Browse the repository at this point in the history
  • Loading branch information
Sorrento110 committed Mar 26, 2018
1 parent db35c87 commit fb589f7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<body>
<div class="site-container">
<div class='header'>
<h1 id="title_header" style="margin: -1px;text-shadow: 1px 1px #642039;"><a href="{% url 'home' %}">Social Monomania</a></h1>
<h1 id="title_header" style="margin: -1px; text-shadow: 1px 1px #642039;"><a href="{% url 'home' %}">Social Monomania</a></h1>
<h6 style="margin-top: 1px; margin-bottom: 25px; text-shadow: 1px 1px #642039;"> A Social Media Listening Project </h6>
<div class='graphic'>
<a href="{% url 'home' %}"><img src="{% static 'images/suckedin_final_mid_withbluebackground.png' %}" alt="Header" style="width:50%"/></a>
Expand Down
7 changes: 4 additions & 3 deletions templates/results.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ <h3>Results</h3>
<a href="{% url 'search' %}" class='button'>New Search</a>

<p> Reddit Object </p>
{% for entry in redditReturn %}
<div>
<h3>{{ entry.title }}</h3>
{% for entry, url in redditReturn.items %}
<div style="border-style: solid; margin-bottom: 10px;">
<h3>{{ entry.title }} " : " {{ url }}</h3>


<!--
tried {{ entry.url}} and entry.link
Expand Down

0 comments on commit fb589f7

Please sign in to comment.