Giter Club home page Giter Club logo

hpstr-hugo-theme's People

Contributors

andersonaguiar avatar bep avatar carlosroman avatar danlucas avatar dldx avatar edgarsandi avatar happycollision avatar iluxonchik avatar jerryni avatar jrfnl avatar lvictorino avatar markstos avatar miterion avatar mmistakes avatar pablodinella avatar qiulin avatar robpol86 avatar rosstuck avatar seppestas avatar smaclell avatar teelahti avatar tomoyukikashiro avatar uvsmtid avatar vbrard avatar zry656565 avatar

Stargazers

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

Watchers

 avatar  avatar

hpstr-hugo-theme's Issues

Unable to locate layout

I'm having problems with use of this theme and the example site. The urls for individual posts are generating 404 pages.

Running hugo -v gives

WARN 2017/10/25 13:09:21 [en] Unable to locate layout for "page": [posts/post.html.html posts/post.html _default/post.html.html _default/post.html theme/posts/post.html.html theme/posts/post.html theme/_default/post.html.html theme/_default/post.html]

(Full output below)

Apologies if missing something obvious here - new hugo user.

Many thanks

INFO 2017/10/25 13:09:21 Using config file: /Users/carl/Documents/test/config.toml
INFO 2017/10/25 13:09:21 using a UnionFS for static directory comprised of:
INFO 2017/10/25 13:09:21 Base: /Users/carl/Documents/test/themes/hpstr/static
INFO 2017/10/25 13:09:21 Overlay: /Users/carl/Documents/test/static/
INFO 2017/10/25 13:09:21 syncing static files to /Users/carl/Documents/test/public/
WARN 2017/10/25 13:09:21 No translation bundle found for default language "en"
WARN 2017/10/25 13:09:21 Translation func for language en not found, use default.
WARN 2017/10/25 13:09:21 i18n not initialized, check that you have language file (in i18n) that matches the site language or the default language.
Started building sites ...
INFO 2017/10/25 13:09:21 found taxonomies: map[string]string{"tag":"tags", "category":"categories"}
WARN 2017/10/25 13:09:21 [en] Unable to locate layout for "page": [posts/post.html.html posts/post.html _default/post.html.html _default/post.html theme/posts/post.html.html theme/posts/post.html theme/_default/post.html.html theme/_default/post.html]
WARNING: calling IsSet with unsupported type "invalid" () will always return false.

INFO 2017/10/25 13:09:21 Alias "/tags/code/page/1/index.html" translated to "tags/code/page/1/index.html"
INFO 2017/10/25 13:09:21 Alias "/page/1/index.html" translated to "page/1/index.html"
INFO 2017/10/25 13:09:21 Alias "/tags/highlighting/page/1/index.html" translated to "tags/highlighting/page/1/index.html"
INFO 2017/10/25 13:09:21 Alias "/tags/images/page/1/index.html" translated to "tags/images/page/1/index.html"
INFO 2017/10/25 13:09:21 Alias "/tags/intro/page/1/index.html" translated to "tags/intro/page/1/index.html"
INFO 2017/10/25 13:09:21 Alias "/tags/link-post/page/1/index.html" translated to "tags/link-post/page/1/index.html"
INFO 2017/10/25 13:09:21 Alias "/tags/readability/page/1/index.html" translated to "tags/readability/page/1/index.html"
INFO 2017/10/25 13:09:21 Alias "/posts/page/1/index.html" translated to "posts/page/1/index.html"
INFO 2017/10/25 13:09:21 Alias "/tags/sample-post/page/1/index.html" translated to "tags/sample-post/page/1/index.html"
INFO 2017/10/25 13:09:21 Alias "/tags/test/page/1/index.html" translated to "tags/test/page/1/index.html"
INFO 2017/10/25 13:09:21 Alias "/tags/video/page/1/index.html" translated to "tags/video/page/1/index.html"

Built site for language en:
0 draft content
0 future content
0 expired content
10 regular pages created
26 other pages created
0 non-page files copied
14 paginator pages created
9 tags created
0 categories created
total in 73 ms

Opening post gives 404

I am using the example site provided with the theme, but when I click the title of a post I get 404. The url is for example: http://localhost:1313/posts/background-image/. I generated the page and within posts, there are no html files for the individual posts.

Does the theme not have a way to show a single post (Similarly to how it can display the About page) ? I might just be doing something dumb, but I can't figure it out.

Drop down menu

The drop down menu seems a bit different (opening) when compared to Jekyll version, which is really smooth.
Hugo's version of hpstr seems to load in the middle of the screen, and only after a while goes into it's correct position. Or is it just me?

Great job!

Great job @dldx! 😸 I used this theme for over a year before switching to Minimal mistakes and loved it. I'm sure @mmistakes will appreciate your work. Next up, Minimal Mistakes theme??

Where is reading time calculated?

I see how it is done on the jekyll variant, but I have yet to find where it is calculated in this hugo version, can you point me to the right place?

.Rmd file cant not highlight codeblock

when I post a .rmd file, I find my code block isn't highlight. But in other Hugo themes my code block can be highlighted. Is there something wrong? I am sure Pandoc will transfer .rmd to .md.

How do I modify the navigation menu?

hey dldx, thanks for the port. great job!.
anyway i dont know if i should be asking this in here or at the original jekyll repo.

so here's some questions::

  • i moved the about menu into the main menu, removed the learn more, and put the link on the avatar & bio item. but it shrunk, because of anchor. can you tell me how to expand it to normal size?
  • can i make the post menu extends without clicking it? hovering it without clicking it on desktop is pretty much easier for me i think.
  • and last one, the email, twitter, fb, etc. button. how to make it only the icon, so it can fit 3 icon in a row.

can you help me with this? im not very good at css. if you can't, maybe you can give me some direction to it.

thx, regards.

Errors on site without expected parameters set

Hello!

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

Building sites … ERROR 2018/03/20 14:45:14 Error while rendering "taxonomy" in "": template: theme/_default/list.html:1:3: executing "theme/_default/list.html" at <partial "head.html" ...>: error calling partial: template: theme/partials/head.html:13:31: executing "theme/partials/head.html" at <index .Site.Data.sec...>: error calling index: index of untyped nil
ERROR 2018/03/20 14:45:14 Error while rendering "taxonomyTerm" in "": template: theme/_default/terms.html:1:3: executing "theme/_default/terms.html" at <partial "head.html" ...>: error calling partial: template: theme/partials/head.html:13:31: executing "theme/partials/head.html" at <index .Site.Data.sec...>: error calling index: index of untyped nil
ERROR 2018/03/20 14:45:14 Error while rendering "section" in "": template: theme/_default/list.html:1:3: executing "theme/_default/list.html" at <partial "head.html" ...>: error calling partial: template: theme/partials/head.html:13:31: executing "theme/partials/head.html" at <index .Site.Data.sec...>: error calling index: index of untyped nil
ERROR 2018/03/20 14:45:15 Error while rendering "404" in "": template: theme/404.html:1:3: executing "theme/404.html" at <partial "head.html" ...>: error calling partial: template: theme/partials/head.html:13:31: executing "theme/partials/head.html" at <index .Site.Data.sec...>: error calling index: index of untyped nil

Change detected, rebuilding site
2018-03-20 14:46:02.386 +0000
Source changed "/srv/hugo/content/post/2018-03-19-lust-for-text-life.markdown": WRITE
ERROR 2018/03/20 14:46:02 Error while rendering "404" in "": template: theme/404.html:1:3: executing "theme/404.html" at <partial "head.html" ...>: error calling partial: template: theme/partials/head.html:13:31: executing "theme/partials/head.html" at <index .Site.Data.sec...>: error calling index: index of untyped nil
Total in 467 ms

The reason is possibly some absent .Site. parameter but you can't tell it from error message, I guess input parameters handling could be improved.

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.