Code Monkey home page Code Monkey logo

bilberry-hugo-theme's People

Contributors

aerohub avatar anhchungite avatar anoff avatar aoudiamoncef avatar atsuyaw avatar chengxuncc avatar deining avatar dependabot[bot] avatar embraser01 avatar enmanuelmoreira avatar habbie avatar igor-baiborodine avatar lednerb avatar lituatui avatar lkorzen avatar marian42 avatar mariosaputra avatar metbril avatar michaelcontento avatar minkezhang avatar nickbusey avatar nidomiro avatar nisargap avatar nnja avatar nonumeros avatar pdoro avatar rabarar avatar sp-cy avatar taoshix avatar teknikaldomain 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  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  avatar  avatar  avatar  avatar  avatar

bilberry-hugo-theme's Issues

improve code

From the gohugo docs:

.Site.RegularPages
a shortcut to the regular page collection. .Site.RegularPages is equivalent to where .Site.Pages "Kind" "page".

about topnav

i can't change the topnav ? please help me .☹️

Add Reading Time to content header

Modify layout/partials/default-content adding

<span class="categories">
            {{ .ReadingTime }}
            {{ with .Site.Data.l10n.articles.readingtime }}{{.}}{{end}}
</span>

adding the reading time inline with the article date, categories, author line...

Automatic algolia index update by golang cli app

I wrote a quick algolia API to take the index.json file and update the algolia account. If anyone's interested, I can create a quick public repo and leave a link. I use this in my production push when I add content to my blog.

Make font change possible and document it in README.md

The font by default is beautiful, but lacks Cyrillic support. I tried to choose something different from Google Fonts, found at least 3 CSS files with font specification, nothing seems to work, I end up with the local DejaVu on my screen.

Mobile view limits displayed content

When viewed in mobile (iPhone SE), I am getting an exceedingly narrow content box --

capture

However, if we were to adjust

  1. div class="main container" (matching div.container) padding to 0, and
  2. article class="default article" (matching article) margin to 0, we get

capture

Which IMO is a much more efficient way of displaying the theme on mobile.

Improve setup

Remove the need to delete the default archetype by overwriting it.

update downloads badge

The badge does not work at the moment because the git clones are not accessible for shields.io.

I have to set up my own shields-like API tool for that purpose.

Also, the clones are only accessible for 14 days, so maybe I'll create my own little API with a database to save the clones.

Set footer copyright

It'd be great if there was a config option to set the footer's copyright text (and perhaps also link to the base URL) via the configuration.

I am currently editing the footer partial to display copyright by me (and set the link to the site base URL, opening in the same window), and amending the theme attribution to 'Bilberry Hugo Theme by Lednerb'. However, for each update I have to remember to reconfigure this, and think it would be a great enhancement.

MultiLang Algolia Search

In reference to #24 I have to check how the algolia search will work in a multi-language environment.

First idea:
Different search indices for every language.

Problem:
Different index json files have to be generated.

Multi-language support

I want to implement the support for 2 or more different languages so you can write your post in DE, EN, RU, whatever and get a language chooser for this specific post.

Advantage:

  • you don't have to translate all of your posts
  • you can write some posts in your mother language and maybe in English to share the article with the whole world
  • thanks to the i18n support the website should be translated correctly

Pages for tags and categories

Is it possible to include template pages for viewing all the tags and categories? At the moment, if I go to https://mysite.com/tags for example, my server throws a 403, yet I would expect that to be a valid resource.

Failed to add template "theme/_default/list.html" in path

Failed to add template "theme/_default/list.html" in path "......./themes/bilberry-hugo-theme/layouts/_default/list.html": template: ......./themes/bilberry-hugo-theme/layouts/_default/list.html:5: function "fileExists" not defined

Running into this situation where I can't run the theme because the fileExists function is not defined
go version

go version go1.7.3 darwin/amd64

Featured Image: Size and Alt-Attribute

it would be nice to add parameters to the featuredImage so that the size could be established rather than expand the image to the full-size of the article div container (and it might be nice to add an alt parameter too if you add width and height).

Won't able to render blog

Hello!

$subj, when trying to run this theme against my blog source I get following:

Building sites … ERROR 2018/03/20 11:47:54 Error while rendering "page" in "post/": template: /srv/hugo/themes/bilberry-hugo-theme/layouts/_default/single.html:7:15: executing "main" at <partial "content-typ...>: error calling partial: template: theme/partials/content-type/article.html:8:7: executing "theme/partials/content-type/article.html" at <partial "tag-footer"...>: error calling partial: template: theme/partials/tag-footer.html:2:14: executing "theme/partials/tag-footer.html" at <len .Params.tags>: error calling len: len of untyped nil
ERROR 2018/03/20 11:48:03 Error while rendering "taxonomy" in "": template: /srv/hugo/themes/bilberry-hugo-theme/layouts/_default/list.html:2:21: executing "main" at <.Paginate>: error calling Paginate: 'pager size' must be a positive integer
ERROR 2018/03/20 11:48:04 Error while rendering "home" in "": template: /srv/hugo/themes/bilberry-hugo-theme/layouts/index.html:2:21: executing "main" at <.Paginate>: error calling Paginate: 'pager size' must be a positive integer
ERROR 2018/03/20 11:48:04 Error while rendering "section" in "": template: /srv/hugo/themes/bilberry-hugo-theme/layouts/_default/list.html:2:21: executing "main" at <.Paginate>: error calling Paginate: 'pager size' must be a positive integer
ERROR 2018/03/20 11:48:05 Error while rendering "taxonomyTerm" in "": template: /srv/hugo/themes/bilberry-hugo-theme/layouts/_default/list.html:2:21: executing "main" at <.Paginate>: error calling Paginate: 'pager size' must be a positive integer

                   | EN
+------------------+----+
  Pages            | 84
  Paginator pages  |  0
  Non-page files   |  0
  Static files     | 31
  Processed images |  0
  Aliases          |  0
  Sitemaps         |  1
  Cleaned          |  0

Total in 32221 ms
Watching for changes in /srv/hugo/{content,layouts,static,themes}
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at http://localhost:11009/ (bind address 0.0.0.0)
Press Ctrl+C to stop

Change detected, rebuilding site
2018-03-20 12:10:21.604 +0000
Source changed "/srv/hugo/content/post/2018-03-19-lust-for-text-life.markdown": WRITE
ERROR 2018/03/20 12:10:22 Error while rendering "home" in "": template: /srv/hugo/themes/bilberry-hugo-theme/layouts/index.html:2:21: executing "main" at <.Paginate>: error calling Paginate: 'pager size' must be a positive integer
Total in 1612 ms

The reason may be some absent .Site. parameter or something else but you can't tell it from error messages.

remove cdns

maybe its better to include all resources in the main .js and .css files.

Exclude page from top nav

Given the way this theme is configured, I can't specify if I don't want a page to be a menu item. Could this feature be added?

For example, I have a page that has some privacy policy details, which I don't want to appear in the top nav. This should go in the footer - could you add a footer nav option for pages too?

Algolia add record: too big

Hello,
Thank you for this very good theme!

I am using it on garamond.fr. I posted a short story (1900 words). Algolia claims for a too big record.

What could I do? Maybe we should cut the json record?

Thank you by advance.

Config Logo RollOver

Hi Sascha,

I've found the config param to set the logo to a gravatar or a custom image, but I can't find a way to change the green home icon that appears on rollover.

Can you point me in the right direction?

I think it could be useful to have a param in config to set the rollover image and another one to set rollover Yes/No.

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.