<commit_before>.container
    .navbar.navbar-inverse(role="navigation")
        .container-fluid
            // Brand and toggle get grouped for better mobile display
            .navbar-header
                button(type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse")
                    span.sr-only Toggle navigation
                    span.icon-bar
                    span.icon-bar
                    span.icon-bar
                a(class="navbar-brand" href="./") #{siteName}
            // Collect the nav links, forms, and other content for toggling
            .collapse.navbar-collapse
                ul.nav.navbar-nav.navbar-right
                    for navItem, path in {"": "Home", "about": "About"}
                        if path === loc
                            li.active
                                a(href= "/" + path)= navItem
                        else
                            li
                                a(href= "/" + path)= navItem
                    
                    if user
                        if "journal" === loc
                            li.active
                                a(href="/journal") #{user}'s Journal
                        else
                            li
                                a(href="/journal") #{user}'s Journal
                        if feedbackForm
                            li
                                a(href="#{feedbackForm}/def/Field1=#{userEmail}&Field4=#{user}") Feedback
                        if "signout" === loc
                            li.active
                                a(href="/signout") Sign Out
                        else
                            li
                                a(href="/signout") Sign Out
                    else
                        if "signin" === loc
                            li.active
                                a(href="/signin") Sign In
                        else
                            li
                                a(href="/signin") Sign In
                        if "join" === loc
                            li.active
                                a(href="/join") Join
                        else 
                            li
                                a(href="/join") Join<commit_msg>Add jade mixing for nav<commit_after>mixin navigationItem(path, label)
    li(class=path===loc ? "active" : "")
        a(href="/"+path)= label

.container
    .navbar.navbar-inverse(role="navigation")
        .container-fluid
            .navbar-header
                button(type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse")
                    span.sr-only Toggle navigation
                    span.icon-bar
                    span.icon-bar
                    span.icon-bar
                a(class="navbar-brand" href="./") #{siteName}
            .collapse.navbar-collapse
                ul.nav.navbar-nav.navbar-right
                    for label, path in {"": "Home", "about": "About"}
                        +navigationItem(path, label)
                    
                    if user
                        +navigationItem("journal", user+"'s Journal")

                        if feedbackForm
                            +navigationItem(feedbackForm+"/def/Field1="+userEmail+"&Field4="+user, "Feedback")
                            //li
                                a(href="#{feedbackForm}/def/Field1=#{userEmail}&Field4=#{user}") Feedback
                        +navigationItem("signout", "Sign Out")
                    else
                        +navigationItem("signin", "Sign In")
                        +navigationItem("join", "Join")
{'fraction_non_alphanumeric': 0.10289389067524116, 'fraction_numerical': 0.001607717041800643, 'mean_word_length': 0.9016811003565971, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 3, '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': '3673112', 'n_tokens_mistral': 867, 'n_tokens_neox': 788, 'n_words': 170}