landrok/activitypub

View on GitHub
docs/_includes/navbar.html

Summary

Maintainability
Test Coverage
<nav class="navbar navbar-expand-lg navbar-light bg-light navbar-activitypub">
  <div class="container">
      <a class="navbar-brand" href="{{ site.doc_baseurl }}">ActivityPhp</a>
      <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>
      </button>
      <div class="collapse navbar-collapse" id="navbarNavDropdown">
        <ul class="navbar-nav">
          <li class="nav-item">
            <a class="nav-link" href="{{ site.doc_baseurl }}">Home</a>
          </li>
          <li class="nav-item dropdown">
            <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuTypes" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
              ActivityStreams Types
            </a>
            <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuTypes">
              <a class="dropdown-item" href="{{ site.doc_baseurl }}/activitystreams-types.html#activitystreams-core-types">Core Types</a>
              <a class="dropdown-item" href="{{ site.doc_baseurl }}/activitystreams-types.html#actor-types">Extended Actor Types</a>
              <a class="dropdown-item" href="{{ site.doc_baseurl }}/activitystreams-types.html#activity-types">Extended Activity Types</a>
              <a class="dropdown-item" href="{{ site.doc_baseurl }}/activitystreams-types.html#object-types">Extended Object Types</a>
              <a class="dropdown-item" href="{{ site.doc_baseurl }}/activitystreams-types.html#custom-types">Custom Types</a>
            </div>
          </li>
          <li class="nav-item">
            <a href="{{ site.repository_url }}" class="nav-link"><span class="icon"></span>GitHub</a>
          </li>
        </ul>
      </div><!-- ./collapse -->
  </div><!-- ./container -->
</nav>