All Projects → NormandErwan → Blogpaper

NormandErwan / Blogpaper

Licence: MIT license
A graphical newspaper like blog theme for Hugo.

Programming Languages

HTML
75241 projects
SCSS
7915 projects

Projects that are alternatives of or similar to Blogpaper

hugo-minimalist-theme
Port of Raphael Riegger's Minimalistic Ghost theme to Hugo.
Stars: ✭ 25 (+38.89%)
Mutual labels:  hugo-theme, hugo, blog-theme
hugo-theme-massively
Massively theme for Hugo static site generator
Stars: ✭ 113 (+527.78%)
Mutual labels:  hugo-theme, hugo, blog-theme
restaurant-hugo
The restaurant is a creative and responsive restaurant website theme in Hugo environment. It is very well decorated theme which will make your website building easier.
Stars: ✭ 50 (+177.78%)
Mutual labels:  hugo-theme, hugo, blog-theme
geeky-hugo
Geeky is a Personal Hugo blog theme focused on high speed. Geeky is fully responsive, Superfast, and powered by Bootstrap v5.
Stars: ✭ 44 (+144.44%)
Mutual labels:  hugo-theme, hugo, blog-theme
navigator-hugo
Navigator Business theme powered by Hugo. It also could be used for a personal portfolio.
Stars: ✭ 133 (+638.89%)
Mutual labels:  hugo-theme, hugo, blog-theme
hugo-artists-theme
Port of Travis Neilson's (DevTips) awesome Artists Theme to Hugo
Stars: ✭ 57 (+216.67%)
Mutual labels:  hugo-theme, hugo, blog-theme
influencer-hugo
Influencer is a Hugo theme for book authors and writers. It has also Snipcart supports for order books and payments.
Stars: ✭ 66 (+266.67%)
Mutual labels:  hugo-theme, hugo, blog-theme
Hugo Theme Noteworthy
A minimalist Hugo theme for writers and bloggers
Stars: ✭ 119 (+561.11%)
Mutual labels:  hugo-theme, hugo, blog-theme
uBlogger
A template designed with your readers in mind ❤️
Stars: ✭ 242 (+1244.44%)
Mutual labels:  hugo-theme, hugo, blog-theme
hugo-theme-fluency
A fluent hugo theme.
Stars: ✭ 48 (+166.67%)
Mutual labels:  hugo-theme, hugo, blog-theme
Hugo Ink
Crisp, minimal personal website and blog theme for Hugo
Stars: ✭ 209 (+1061.11%)
Mutual labels:  hugo-theme, hugo, blog-theme
liva-hugo
Liva is a personal blog template powered by Hugo.
Stars: ✭ 192 (+966.67%)
Mutual labels:  hugo-theme, hugo, blog-theme
Hugo Clarity
A theme for Hugo based on VMware Clarity
Stars: ✭ 189 (+950%)
Mutual labels:  hugo-theme, hugo, blog-theme
hugo-sugoi
Hugo-Sugoi - An Ultra Minimal Hugo Theme based on Skeleton
Stars: ✭ 29 (+61.11%)
Mutual labels:  hugo-theme, hugo, blog-theme
Hugo Theme Bootstrap4 Blog
A blogging-centric Bootstrap v4 theme for the Hugo static site generator.
Stars: ✭ 191 (+961.11%)
Mutual labels:  hugo-theme, hugo, blog-theme
academia-hugo
Academia is a Hugo resume theme. You can showcase your academic resume, publications and talks using this theme.
Stars: ✭ 165 (+816.67%)
Mutual labels:  hugo-theme, hugo, blog-theme
Hugo Steam Theme
Port of Tommaso Barbato's Ghost theme Steam to Hugo
Stars: ✭ 69 (+283.33%)
Mutual labels:  hugo-theme, hugo, blog-theme
Hugo Coder
A minimalist blog theme for hugo.
Stars: ✭ 1,374 (+7533.33%)
Mutual labels:  hugo-theme, hugo, blog-theme
hugo-theme-chunky-poster
A simple, bootstrap 4 based hugo blog theme.
Stars: ✭ 106 (+488.89%)
Mutual labels:  hugo-theme, hugo, blog-theme
twenty-twenty-hugo
Twenty Twenty Hugo is forked from WordPress Twenty Twenty theme. It's fully functional like the WordPress theme.
Stars: ✭ 48 (+166.67%)
Mutual labels:  hugo-theme, hugo, blog-theme

Blogpaper

A graphical newspaper like blog theme for Hugo.

Quality Gate Status GitHub Pages Status

See the live demo: Example of a homepage

See the style guide: Example of a post page

Install

  1. Make sure you're using the Hugo extended version.

  2. If you're using Hugo for the first time, follow the Hugo's quick start tutorial first.

  3. Copy the theme in your site:

    git submodule add https://github.com/NormandErwan/Blogpaper themes/Blogpaper
  4. Edit your config.yml:

    theme: Blogpaper
  5. Generate your site!

    hugo server -D

You should now a have a working site, but with a flat grey background instead of banner images on top your pages. See the next section to configure your site and add banner images on your pages.

After install homepage After install post page
Example of a homepage after install Example of a post page after install

Configure

  1. Edit your config.yml:

    theme: Blogpaper
    title: # Your site title
    author:
      name: # Your name
    baseURL: # Hostname (and path) to the root, e.g. https://bep.is/
    copyright: # Optional, will be displayed on site's footer, if this line is removed an default copyright will be generated
    languageCode: en # The language code of your site, by default "en"
    menu:
      main: # Optional, the menu to display on top-right of your site, see https://gohugo.io/templates/menu-templates/#site-config-menus
        - name: About
          url: /about
    params:
      description: # The description of your site (used on a <meta> tag)
      subtitleLength: 25 # The number of words on the subtitle of a page

    See https://gohugo.io/getting-started/configuration/ for more configuration settings (such as datetimeFormat, mainSections or paginate). See also how to configure post summaries on the homepage.

    Every page can have a subtitle, displayed bellow the title on the header of the page. It's generated by default from the first subtitleLength words of the page's content. It works the same as a summary.

  2. Add banner images on your pages, you can either:

    • Add a banner.jpg image next to a index.md or _index.md page.

    • Add a <page-filename>.jpg image next to a <page-filename>.md page.

    • Add no image to use the banner of the parent page.

    • Use a custom image by adding to the front matter of the page:

      banner:
        src: <banner-filename>.jpg # Optional, the filename of the banner, by default <page-filename>.md or banner.jpg
    • Set no banner by adding to the front matter of the page:

      banner: false

    For example, see the Blogpaper's example site:

    .
    └── content
        ├── posts
        |   ├── rich-content
        |   |   ├── banner.jpg
        |   |   └── index.md # Use banner.jpg
        |   ├── _index.md # No banner.jpg, use the parent banner: ../banner.jpg
        |   ├── emoji-support.md # Use emoji-support.jpg
        |   ├── emoji-support.jpg
        |   └── ...
        ├── _index.md # Use banner.jpg
        ├── about.md # Use about.jpg
        ├── about.jpg
        └── banner.jpg

    You can download free images on sites like Lorem Picsum or other.

  3. Add to the front matter of your pages:

    subtitle: # Optional, will be displayed bellow the title of the page; remove this line to generate an automatic subtitle
    banner:
      src: <banner-filename>.jpg # Optional, the filename of the banner, by default <page-filename>.jpg or banner.jpg
      caption: # Optional, the caption of the banner
      href: # Optional, a link on the caption

Troubleshooting / FAQ

  • I can't generate the site.

    • Problem: I have the error: Problem: Building sites … ERROR Transformation failed: TOCSS: failed to transform "blogpaper.scss" (text/x-scss).
    • Solution: Reinstall Hugo, the extended version not the standard one.
  • I want to customize the CSS.

    • Use your own CSS or SCSS files. Simply add the files in your /assets/ folder.

      .
      └── assets
          └── css
              ├── custom1.css
              ├── custom2.scss
              └── ...

Contribute

For any question or comment, please open a new issue. I'm not a web designer so I'm open to any design suggestions! :-)

If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome!

Upgrade

From your site folder, execute:

git submodule update --remote themes/Blogpaper

Build the example site

Clone this repository, then execute:

cd exampleSite
hugo server --themesDir ../..

Content is adapted from https://github.com/gohugoio/hugoBasicExample. Images are credited on the page where they are used.

License

The MIT License (MIT). Copyright (c) 2019-2020 Erwan Normand [email protected].

See the LICENSE.md file for details.

Blogpaper uses the following third-party resources:

This theme is inspired by Start Bootstrap - Clean Blog, Jekyll's Olania and Jekyll's Curious.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].