<commit_before><head>
  <title>simple</title>
</head>
<body>
  <h1>Welcome to Blogging!</h1>
  {{> navigation}}

</body>

<template name="navigation">
    <div class="nav">
    <ul>
        <li><a href="{{pathFor route='home'}}">Home</a></li>
        <!--<li><a href="{{pathFor route='listblogs'}}">Blog List</a></li>-->
        {{#if currentUser}}
            <li><a href="#" class="logout">Logout</a></li>
        {{/if}}
        <li><a href="{{pathFor route='login'}}">Login</a></li>
    </ul>
    </div>
</template>

<template name="login">
    <!--<h2>Login</h2>-->
    <!--<form class="'login">-->
        <!--<form class="login">-->
            <!--<p>Username : <input type="text" name="username" required></p>-->
            <!--<p>Password : <input type="password" name="password" required></p>-->
            <!--<p><input type="submit" value="Login"></p>-->
        <!--</form>-->
    <!--</form>-->

   <div class="login-page">
        <div class="form">
            <form class="login-form">
                <input type="text" placeholder="Username" name="username" required/>
                <input type="password" placeholder="Password" name="password" required/>
                <input type="submit" value="Login"/>
                <p class="message">Not registered? <a href="{{pathFor route='register'}}">Create an account</a></p>
            </form>
        </div>
    </div>

</template>

<template name="register">
    <!--<h2>Register</h2>-->
    <!--<form class="register">-->
        <!--<p>Email : <input type="email" name="email"  required></p>-->
        <!--<p>Username : <input type="text" name="username" required></p>-->
        <!--<p>Password : <input type="password" name="password" required></p>-->
        <!--<p>Confirm Password :<input type="password" name="confirmPassword" required></p>-->
        <!--<p><input type="submit" value="Register"></p>-->
    <!--</form>-->
    <div class="login-page">
        <div class="form">
            <form class="register-form">
                <input type="text" name="username" placeholder="Username" required>
                <input type="password" name="password" placeholder="Password" required>
                <input type="password" name="confirmPassword" placeholder="<PASSWORD>" required>
                <input type="email" name="email"  placeholder="Email-address" required>
                <button onclick="submit">create</button>
                <p class="message">Already registered? <a href="{{pathFor route='login'}}">Sign In</a></p>
            </form>
        </div>
    </div>
</template>


<template name="home">
    <h2>Home</h2>
{{#if currentUser}}
    <p>Welcome {{currentUser}}</p>
    <form class="home">
        <p>First Name: <input type="text" name="bloggerName" required></p>
        <p>Last Name : <input type="text" name="bloggerLastName" required></p>
        <p>Title of article : <input type="text" name="title" required></p>
        <p><textarea maxlength="2000" rows="20" cols="100" name="article">Publish article</textarea> </p>
        <p><input type="submit" value="Publish" ></p>
    </form>
    {{else}}

    <h2>hello</h2>
    {{#each blogs}}
        <h2>{{title}}</h2>
        <h>{{article}}</h>
    {{/each}}
    {{/if}}
</template>

<template name="listblogs">
    <div class="container">
        <div class="row">
    <h2>List of blogs</h2>
{{#each blogs}}
    <h3> {{title}}</h3>
<!--<h4>{{article}}</h4>-->
    <a href="/displayArticle" target="_id">{{title}}</a>
{{/each}}
        </div>
    </div>
</template>


<template name="displayArticle">
    <h2>hello</h2>
    {{#each blogs1}}
    <h2>{{article}}</h2>
    {{/each}}
</template><commit_msg>Small changes have been made in the ui<commit_after><head>
  <title>simple</title>
</head>
<body>
  <h1>Welcome to Blogging!</h1>
  {{> navigation}}

</body>

<template name="navigation">
    <div class="nav">
    <ul>
        <li><a href="{{pathFor route='home'}}">Home</a></li>
        <!--<li><a href="{{pathFor route='listblogs'}}">Blog List</a></li>-->
        {{#if currentUser}}
            <li><a href="#" class="logout">Logout</a></li>
        {{else}}
        <li><a href="{{pathFor route='login'}}">Login</a></li>
            {{/if}}
    </ul>
    </div>
</template>

<template name="login">
    <!--<h2>Login</h2>-->
    <!--<form class="'login">-->
        <!--<form class="login">-->
            <!--<p>Username : <input type="text" name="username" required></p>-->
            <!--<p>Password : <input type="password" name="password" required></p>-->
            <!--<p><input type="submit" value="Login"></p>-->
        <!--</form>-->
    <!--</form>-->

   <div class="login-page">
        <div class="form">
            <form class="login-form">
                <input type="text" placeholder="Username" name="username" required/>
                <input type="password" placeholder="Password" name="password" required/>
                <input type="submit" value="Login"/>
                <p class="message">Not registered? <a href="{{pathFor route='register'}}">Create an account</a></p>
            </form>
        </div>
    </div>

</template>

<template name="register">
    <!--<h2>Register</h2>-->
    <!--<form class="register">-->
        <!--<p>Email : <input type="email" name="email"  required></p>-->
        <!--<p>Username : <input type="text" name="username" required></p>-->
        <!--<p>Password : <input type="password" name="password" required></p>-->
        <!--<p>Confirm Password :<input type="password" name="confirmPassword" required></p>-->
        <!--<p><input type="submit" value="Register"></p>-->
    <!--</form>-->
    <div class="login-page">
        <div class="form">
            <form class="register-form">
                <input type="text" name="username" placeholder="Username" required>
                <input type="password" name="password" placeholder="Password" required>
                <input type="password" name="confirmPassword" placeholder="<PASSWORD>" required>
                <input type="email" name="email"  placeholder="Email-address" required>
                <button onclick="submit">create</button>
                <p class="message">Already registered? <a href="{{pathFor route='login'}}">Sign In</a></p>
            </form>
        </div>
    </div>
</template>


<template name="home">
    <h2>Home</h2>
{{#if currentUser}}
    <p>Welcome {{currentUser}}</p>
    <form class="home">
        <p>First Name: <input type="text" name="bloggerName" required></p>
        <p>Last Name : <input type="text" name="bloggerLastName" required></p>
        <p>Title of article : <input type="text" name="title" required></p>
        <p><textarea maxlength="2000" rows="20" cols="100" name="article">Publish article</textarea> </p>
        <p><input type="submit" value="Publish" ></p>
    </form>
    {{else}}

    <h2>hello</h2>
    {{#each blogs}}
        <h2>{{title}}</h2>
        <h>{{article}}</h>
    {{/each}}
    {{/if}}
</template>

<template name="listblogs">
    <div class="container">
        <div class="row">
    <h2>List of blogs</h2>
{{#each blogs}}
    <h3> {{title}}</h3>
<!--<h4>{{article}}</h4>-->
    <a href="/displayArticle" target="_id">{{title}}</a>
{{/each}}
        </div>
    </div>
</template>


<template name="displayArticle">
    <h2>hello</h2>
    {{#each blogs1}}
    <h2>{{article}}</h2>
    {{/each}}
</template>
{'fraction_non_alphanumeric': 0.23607355327203894, 'fraction_numerical': 0.008653326122228232, 'mean_word_length': 2.685600398604883, 'pattern_counts': {'":': 0, '<': 335, '<?xml version=': 0, '>': 337, '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': '3059804', 'n_tokens_mistral': 2388, 'n_tokens_neox': 2297, 'n_words': 473}