<commit_before>{% extends 'lito/base.html' %}

    {% block content %}

    <div class="row">
      
        <div class="col-md-6">
            <h1>Read a Story</h1>

            {% for story in story_list %}
                <div>
                    <h2><a href="{% url 'story_detail' pk=story.pk %}">{{ story.title }}</a></h2>
                    <p>By: {{ story.author }}</p>
                </div>
            {% endfor %}
        </div>


        <div class="col-md-6">
            <h1>Write your own Story</h1>
        </div>


        

        <div>
            {% if user.is_anonymous %}
            <div>
                <a href="{% url 'register' %}?next={% url 'story_list' %}" type="button" class="btn-lg btn-link" style="background-color:orange" >Sign Up</a>
            </div>
            <br><br>
            <div>
                <a href="{% url 'signin' %}?next={% url 'story_list' %}" type="button" class="btn-lg btn-link" style="background-color:orange" >Sign In</a><commit_msg>Clicking in a specific story doesn’t direct to the reader view<commit_after>{% extends 'lito/base.html' %}

    {% block content %}

    <div class="row">
      
        <div class="col-md-6">
            <h1>Read a Story</h1>

            {% for story in story_list %}
                <div>
                    <h2><a href="{% url 'reader_view' pk=story.pk %}">{{ story.title }}</a></h2>
                    <p>By: {{ story.author }}</p>
                </div>
            {% endfor %}
        </div>


        <div class="col-md-6">
            <h1>Write your own Story</h1>
        </div>


        

        <div>
            {% if user.is_anonymous %}
            <div>
                <a href="{% url 'register' %}?next={% url 'story_list' %}" type="button" class="btn-lg btn-link" style="background-color:orange" >Sign Up</a>
            </div>
            <br><br>
            <div>
                <a href="{% url 'signin' %}?next={% url 'story_list' %}" type="button" class="btn-lg btn-link" style="background-color:orange" >Sign In</a>
{'fraction_non_alphanumeric': 0.18444227005870842, 'fraction_numerical': 0.007827788649706457, 'mean_word_length': 1.5658720200752823, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 57, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '958938', 'n_tokens_mistral': 705, 'n_tokens_neox': 643, 'n_words': 149}