Giter Site home page Giter Site logo

hugo-bootstrap's Introduction

Hugo Bootstrap v4 Theme

This is a simple Hugo theme using Bootstrap v4, inspired by hugo-theme-bootstrap4-blog.

Demo

You can find a demo here.

Screenshots

preview preview

Configuration

Check exampleSite/config.toml for an example configuration.

Brand

The brand can be overriden by adding your own layout layouts/partials/brand.html. Check exampleSite/layouts/partials/brand.html for an example.

Menu

The navbar displays the main menus by default. You can find more details about how to configure it here, as well as in the exampleSite.

Multilanguage

The theme supports multiple languages.

You can find the default translation bundles in i18n (english and spanish by default).

License

Open sourced under the MIT license.

hugo-bootstrap's People

Contributors

aborruso avatar birros avatar coliff avatar imgbotapp avatar notwoods avatar pojntfx avatar xzya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

hugo-bootstrap's Issues

Hugo Bootstrap Demo on Hugo website contains 3rd party tracking

Hello @Xzya

I am one of the maintainers of the Hugo Themes repository.

Recently I audited the Hugo Themes website and it has come to my attention that your theme's demo has third party tracking enabled.

     \hugo-bootstrap\exampleSite\config.toml:
        # Google analytics
        googleAnalytics = "UA-47268287-3"

To fix this issue please leave the above parameter blank i.e.

     \hugo-bootstrap\exampleSite\config.toml:
        # Google analytics
        googleAnalytics = ""

Once you look into this please let me know.

Thank you!

Bootstrap theming

Hi, thank you for the great work. :)

I'm a noob on bootstrap stuff. Can you tell me if it is possible to use the bootstrap theming on Hugo? I'd like to change things like the nav-bar and the URLs text colors. Thanks!

Theme uses deprecated Page.RSSLink and Page.URL

While building the site, hugo v0.75.1/extended complains about following deprecations:

WARN 2020/11/21 15:18:15 Page.RSSLink is deprecated and will be removed in a future release. Use the Output Format's link, e.g. something like: 
    {{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}
WARN 2020/11/21 15:18:15 Page.URL is deprecated and will be removed in a future release. Use .Permalink or .RelPermalink. If what you want is the front matter URL value, use .Params.url

Support for RTL languages?

Hello,

Do you have support for RTL (Arabic) languages? If so, how can it be activated?
If not, are there plans or desire to support RTL?

Thanks,

[Question] How works links to static resources?

In the layouts files, I've seen that to build an URL to get the css or another static resource, the code is {{ .SiteBaseURL }}css/style.css, and that the file is in static/css/style.css.

So, I have a static folder in my hugo directory, with a sub folder img that contains my logo.svg. And in the layouts/partials/brand.html, I have this code: <img src="{{ .Site.BaseURL }}img/logo.svg" ..., which works fine with hugo server.

However, when trying to deploy through Netlify, the URL to style.css and logo.svg get a 404 error. The path are https://[my-domain]/css/style.css or https://[my-domain]/img/logo.svg.

So, I'm wondering how the resolution to the static directory works.

[to change the font color and size]

I started to use the hugo-bootstrap theme to create personal website and I like it so much. However, I am quite confused how I could change the font color and size. I know this question will sound stupid but just failed in getting solutions after a couple of hours' searching. Thanks in advance if you could give some ideas.

changing default language not working

When changed in the config file
defaultContentLanguage = "en" to defaultContentLanguage = "es"
Nothing happens. The default website is all still in english

Strange warnings when building a website with this theme

Hi,

I'm using this theme with hugo 0.53 for some static legal documents. The pages I have contain only markup and I am a bit confused what the warnings mean.

uilding sites โ€ฆ WARNING: make non-relative ref/relref page reference(s) in page "/legal" absolute, e.g. {{< ref "/blog/my-post.md" >}}
WARNING: make non-relative ref/relref page reference(s) in page "/categories" absolute, e.g. {{< ref "/blog/my-post.md" >}}
WARNING: make non-relative ref/relref page reference(s) in page "/tags" absolute, e.g. {{< ref "/blog/my-post.md" >}}
WARNING: make non-relative ref/relref page reference(s) in page "/legal/respondent-terms-of-use/index.en.md" absolute, e.g. {{< ref "/blog/my-post.md" >}}

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.