Giter Site home page Giter Site logo

blackburn's People

Contributors

ajdunevent avatar annjose avatar anselmolsm avatar anthonyfok avatar bep avatar brianz avatar charlesjlee avatar confirm4crit avatar contributorpw avatar drguildo avatar dwy6626 avatar gbirke avatar horriblegeek avatar insertjokehere avatar james-otten avatar josephting avatar linuturk avatar michaeltlombardi avatar njnygaard avatar odvinc avatar p-lewis avatar polyfloyd avatar recleev avatar targodan avatar timciep avatar tristor avatar trozz avatar umanovskis avatar winkj avatar yoshiharuyamashita 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  avatar  avatar  avatar  avatar  avatar  avatar

blackburn's Issues

baseurl not correct in footer.html

I have in config.toml: baseurl = "https://ronsmits.org" the generated code in footer.html tries to load https://ronsmits.orgjs/ui.js.

changed <script src="{{ .Site.BaseURL }}js/ui.js"></script> into <script src="{{ .Site.BaseURL }}/js/ui.js"></script>

Icons in share.html have the incorrect class name

Icons in the footer/share section of posts don't have the correct class for the i-frame. All of the "Brands" (Facebook, Twitter, G+, etc.) need to be prefixed with fab and the "Share" icon needs to be prefixed with fa

Example:
<i class="fa-facebook" aria-hidden="true"></i>
<i class="fab fa-facebook" aria-hidden="true"></i>

image

image

reading time is not displayed

Hi Yoshi,

Is there any change in the usage of readingTime parameter in config.toml for displaying the reading time of the posts?

    [params]
      # Shown in the home page
    
      dateFormat = "02 Jan 2006, 15:04"
      
      # Show estimated reading time for posts?
      readingTime = true

The above configuration is not working.

PS: The issue has already mentioned on StackOverflow.

not summaries

Hi,

I am looking into converting a Wordpress blog into Hugo, and found your very good theme.

However, it seems that I can't remove the "read more" (with summary texts) from the blog entries, is there a way to display the full posts? Another them I tried I could change the param truncate to false to fix this, is this possible with blackburn?

Thanks,
Patrik

Two level menu

I followed the instructions for making the two-level menu.
However, the menu could not be expand. Is it the issue of blackburn theme?

  [[menu.main]]
    identifier = "brand"
    name = "brand"
    url = "/brands/"
    
    [[menu.main]]
        parent = "brand"
        name = "nike"
        url = "/brands/nike/"

    [[menu.main]]
        parent = "brand"
        name = "adidas"
        url = "/brands/adidas/"  

Two questions: layout, and post directories

I like Blackburn very much - thank you for creating it! However, i am learning Hugo as I go, which makes things tricky sometimes. So I have two questions:

  1. If I edit a css file so as to have different fonts, thickness and background color on the right hand side menu strip - can I do that in my own file, or do I need to edit one of Blackburn's css files? I'm still very unsure of how Hugo manages multiple css files. For example, if two files are in conflict, which takes precedence?
  2. I am creating a new blog with Hugo, but I'd like (eventually) to import my old blog, but under a different heading. You can see my attempt at https://numbersandshapes.net/blog where the menu item "Numbers and Shapes" is meant to open up a new blog page. For some reason it puts all the posts together. I did this by copying the "single.html" file into a new file "/layouts/nshapes.html" which I referred to in my config.toml. All I really need to see is an example of how this should be done: with appropriate html files and directory structure.

Anyway, thanks very much!

Why I can't see tags and categories ?

I added this to the head of my md:

+++
title = "Hi"
date = 2017-09-05T22:46:02+08:00
tqgs = ["tag1","tag2"]
categories = ["golang","github"]
draft =  true
+++

Customize Dates

Hi!
I would like customize dates on Blackburn theme based on tutorial form Hugo official site (Tutorial/Multilingual Site -> http://gohugo.io/tutorials/create-a-multilingual-site/) Where I'm find in Blackburn part of the code responsible for displaying the date post?
Sorry for silly question, but I'm noob on HTML world
Thanks for great theme!

Incorrect Google Analytics tags

I attempted to plug in my GA tracking ID but it doesn't appear to be the current version of code that Google is using and I'm not seeing data in my GA graphs. The code Google's docs say to use:

<script async src="https://www.googletagmanager.com/gtag/js?id="></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', ''); </script>

Support for bitcoin Links

I'm attempting to add a Donate Main Menu option to the sidebar.

  [[menu.main]]                                                                 
    name = "Donate"                                                             
    pre = "<i class='fa fa-btc fa-fw'></i>"                                     
    weight = 6                                                                  
    identifier = "bitcoin"                                                      
    url = "bitcoin:1FkKq8MSLuBMcE6NfvZ4qLhAYK6auTthTM"

Unfortunately, this seems to be parsed down to:

<a class="pure-menu-link" href="#ZgotmplZ"><i class="fa fa-btc fa-fw"></i>Donate</a>

Instead of something valid like:

<a class="pure-menu-link" href="bitcoin:1FkKq8MSLuBMcE6NfvZ4qLhAYK6auTthTM"><i class="fa fa-btc fa-fw"></i>Donate</a>

Any tips here?

Horizontal scroll bar appears in the navigation bar with firefox.

Thank you for the theme, it has proved excellent so far!
The title says it all really. I tested with Firefox 46.0 on both Windows and Ubuntu Linux, and a scroll bar appears in the bottom left of the page, the width of the navigation bar.
The issue doesn't appear to be present with Chrome or Internet Explorer

rss link on menu not formatted

I love the blackburn theme! thank you for making it. I've been trying to figure out a way for the RSS link on the sidebar from the homepage to display properly. I found some xml code from another blackburn user and plugged it in to layouts/ and it worked locally but when I pushed it to github and netlify it fell back to unformatted. I notice that even on your own site it isn't styled. Anyone know a way to make the styling stick for that RSS tab?

Thank you!

Error when serving site

I am trying to create a blogdown site using the Blackburn theme but keep getting an error when I try to serve the site. I am using Hugo version 0.55.5, R-Studio version 1.2.1335, and R version 3.5.3.

My repo is here: https://github.com/Rikagx/personal-website

My code is:
library(blogdown) new_site(theme = 'yoshiharuyamashita/blackburn', sample = TRUE, theme_example = TRUE, empty_dirs = TRUE, to_yaml = TRUE) install_hugo() build_site() serve_site()
The only other changes I've made are the basic config.toml changes specified such as changing the ignore files and the baseurl to my domain.

The error I get is:

serve_site()
Error: unknown command "technical" for "hugo"
Run 'hugo --help' for usage.
Error: unknown command "technical" for "hugo"
Run 'hugo --help' for usage.
The system cannot find the path specified.
Error in shell(cmd, mustWork = TRUE, intern = intern) :
'"C:\Users\Rika\AppData\Roaming\Hugo\hugo.exe" -b / -D -F -d "public" --themesDir themes -t A technical blog by Rika Gorn' execution failed with error code 1

google plus url format error in layouts/partials/social.html?

google plus profile url like this:
https://plus.google.com/u/0/118046788804899957719

in config.toml, if googleplus item like this,
googleplus = "u/0/102591860149128628370" or googleplus = "102591860149128628370", I will got an error like blow.

image

then, I found code like below, I think it is may be an error.

<a class="pure-menu-link" href="https://plus.google.com/+{{ . }}" target="_blank"><i class="fa fa-google-plus-square fa-fw"></i>Google+</a>

Author name in each post

Hi Thanks so much for the theme. I love it. I'm trying to add author's name in each post (since another website is syndicating my feed), I couldn't get it working. Currently in the rss feed it's just simply empty.

This is my rss.xml

{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\" ?>" | safeHTML }}
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <author>{{.Site.Author.name}}</author>
    <title>{{ if eq  .Title  .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
    <link>{{ .Permalink }}</link>
    <description>Recent content {{ if ne  .Title  .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
    <generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
    <language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
    <managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
    <webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
    <copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
    <lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
    {{ with .OutputFormats.Get "RSS" }}
        {{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
    {{ end }}
    {{ range .Pages }}
    <item>
      <title>{{ .Title }}</title>
      <author>{{.Site.Author.name}}</author>
      <link>{{ .Permalink }}</link>
      <pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
      {{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
      <guid>{{ .Permalink }}</guid>
      <description>{{ .Content | html }}</description>
    </item>
    {{ end }}
  </channel>
</rss>

Any help is appreciated.

Home Page Broken with Hugo 0.57

I think this change in Hugo 0.57 renders the home page with only the post link as content.

home.Pages now only returns pages in the top level section. Before this release, it included all regular pages in the site. This made it easy to list all the pages on home page, but it also meant that you needed to take special care if you wanted to navigate the page tree from top to bottom. If you need all regular pages, use .Site.RegularPages. Also see #6153.

I think I was able to resolve the issue by changing this line

{{ range ( .Paginate (where .Data.Pages "Type" "post")).Pages }}

in layouts/index.html to

{{ range ( .Paginate (where .Site.RegularPages "Type" "post")).Pages }}

Removing RSS field from sidebar

Hi There,

Thank you so much for this wonderful theme! It's exactly what I was looking for for my personal website. I was wondering if you could help me fix one issue I'm having with it. I'd like to remove the RSS feed button from the website sidebar, but can't find any place in the code that this is specified. Could you point me in the right direction?

Thank you,
Spencer

suggestion: use pagination within section

Thank you for creating this theme which I use to power http://ernestmicklei.com

I changed the pagination such that it will visit pages within a section

{{ if or (.PrevInSection) (.NextInSection) }}
<div class="prev-next-post pure-g">
  <div class="pure-u-1 pure-u-md-1-2">
    {{ if .PrevInSection }}
    <nav class="prev">
      <a href="{{ .PrevInSection.Permalink }}"><i class="fa fa-arrow-circle-left fa-fw fa-lg"></i>{{ .PrevInSection.Title }}</a>
    </nav>
    {{ end }}
  </div>
  <div class="pure-u-1 pure-u-md-1-2">
    {{ if .NextInSection }}
    <nav class="next">
      <a href="{{ .NextInSection.Permalink }}">{{ .NextInSection.Title }}<i class="fa fa-arrow-circle-right fa-fw fa-lg"></i></a>
    </nav>
    {{ end }}
  </div>
</div>
{{ end }}

Consider using this for people who have others sections than post

side menu is not scrollable

After #79, the overflow-y attribute is set to visible. This prevent the side menu to be scroll when truncated. This bug occurs when browser height is limited, e.g. mobile (especially, landscape)

I fix this in my website by set that attribute back to auto.

I suggest the theme should do something to handle this bug.

Customize Theme

Hi Yoshi I can not find any contact info so I am writing my "issue" here. I would like to create a new section for tutorials and one for scripts. but I don't find the place to get the new section working in the menu. do you have a solution how to do this? you are welcome to contact me by email to discuss this

Menu not working on small screens

I really like your blackburn Hugo theme and am trying to use it. But for some reason the pull-down menu is not working for my site, when viewed on my Android phone. Oddly, your demo site is working. Any idea what the problem might be? You can try my site at http://www.tfgordon.de to see the problem.

Error on serving the site

 palash25@Lenovo-G50  ~/Dev/Projects/palash25.gtihub.io   master ●✚  hugo server -D                                               
ERROR: 2018/02/04 18:28:39 template.go:350: template: theme/partials/sidemenu.html:25: function "safeHTMLAttr" not defined
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
ERROR: 2018/02/04 18:28:39 template.go:119: html/template: "theme/partials/sidemenu.html" is an incomplete template in theme/partials/sidemenu.html
0 draft content
0 future content
6 pages created
0 non-page files copied
1 paginator pages created
6 tags created
0 topics created
in 72 ms
Watching for changes in /home/palash25/Dev/Projects/palash25.gtihub.io/{data,content,layouts,static,themes}
Serving pages from memory
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop

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.