Giter VIP home page Giter VIP logo

Comments (1)

textbook avatar textbook commented on July 1, 2024

I don't think you could do this just by adding CSS, it would be a structural change to the layout of the page. Bulrush uses the navbar component for both the header (where the title is) and the menu:

<header class="hero is-primary">
<div class="hero-head">
<div class="container">
<nav class="navbar">
<div class="navbar-brand">
<a class="navbar-item title is-3{% if output_file == "index.html" %} is-active{% endif %}"
href="{{ SITEURL }}/">{{ SITENAME }}</a>
</div>
</nav>
</div>
</div>
</header>
<nav class="navbar has-shadow is-hidden-print">
<div class="container">
<div class="navbar-center"></div>
<span id="navToggle" class="navbar-burger">
<span></span>
<span></span>
<span></span>
</span>
<div id="navMenu" class="navbar-menu">
<div class="navbar-end">
{% for title, link in MENUITEMS|reverse %}
<a class="navbar-item is-tab" href="{{ link }}">{{ title }}</a>
{% endfor %}
{% if DISPLAY_CATEGORIES_ON_MENU %}
{% for cat, null in categories|reverse %}
<a class="navbar-item is-tab {% if cat == category %}is-active{% endif %}"
href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a>
{% endfor %}
{% endif %}
</div>
</div>
</div>
</nav>

This would be a possible but quite substantial change to make conditionally with a configuration option. I'd be open to discussing a proposed implementation but at a certain point you might be better making a fork of Bulrush you can adapt to your specific needs (#36 suggests you have other changes in mind!)

from bulrush.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.