Coder Social home page Coder Social logo

utkarshverma / hugo-dream-plus Goto Github PK

View Code? Open in Web Editor NEW
68.0 7.0 66.0 8.34 MB

:rainbow: An upgraded version of the Hugo "Dream" theme with tons of new features.

Home Page: http://dream-plus-posts.netlify.com

License: MIT License

HTML 64.51% CSS 32.49% JavaScript 3.00%
hugo-theme dream-theme blog website twemoji shortest device-detection disqus

hugo-dream-plus's Introduction

hugo-dream-plus's People

Contributors

dguo avatar georgemulder avatar gregorybat avatar hizkifw avatar hpcsc avatar mohansha avatar nonumeros avatar stoz avatar tharudaya avatar tommorris avatar utkarshverma avatar zxkane 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

hugo-dream-plus's Issues

can you provide an example of cards?

hi,
thanks for your template.
i changed contentType to "cards" in config,
and i created a new card with the command

hugo new cards/softwarequalityassurance.md

so now with "hugo server" i obtain the website but there is any cards in the front-end.
what should i put inside cards .md file?
thanks.

Dropping support for this theme, PRs still welcomed!

You must have noticed that this theme has rarely been updated within the past year, and that's because of my time constraints. After a year, I've finally decided to officially drop support for this theme, however, I'm keeping this repo alive for PRs.
You can also fork this theme and modify it all you want as long as it satisfies the license.

No pagination arrows when viewing blog posts by tag or category

Describe the bug
There exist no "next" and "back" arrows on the header ribbon when viewing site content (posts) by category or tag.

To Reproduce
View example at https://howisjt.com/categories/travel/ "paginate" variable set to 4.

Expected behavior
There are more than 4 posts matching this category so it is desirable for the "next" and "back" arrows to appear in the header.

Screenshots
See it live at howisjt.com. Arrows appear on homepage header, but don't reappear if you click a category or tag with more than 4 posts associated with it.

Additional context
None

Your project
It's not in a git repository. Just files on my PC.

Hugo version
0.60.1

Disqus avatar not displaying

The disqus user avatar isn't displayed in the comment section when browsing in width lesser than 540px. This is due to disabling scroll for post-list class which it is part of.

Home page shows "posts" folder not posts.

Describe the bug
When running hugo server locally and testing my site I am not shown my posts only a single posts that when clicked on shows an index of my other posts.

To Reproduce
I was able to reproduce by running hugo server in the example site directory.

Expected behavior
I expected different content items each showing one of my posts.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Additional context
Add any other context about the problem here.

Your project
https://bitbucket.org/LucasSymons/lucassymons.net/

Hugo version
Hugo Static Site Generator v0.59.0/extended linux/amd64

Your theme's demo is not generated on the Hugo website

Hello @UtkarshVerma

About a month ago you opened a topic in the Hugo Forum about your theme's demo not working on the Hugo Themes website and I gave you a detailed reply here

Currently I am sending Pull Requests to have themes without a working demo removed from the Hugo website.

Can you please look into providing a valid config.toml for your Example Site?

Also in your Example Site's config you need to specify the theme directory like so: themesDir = "../.." (you need to remove the second forward slash).

Thank you.

CC / @digitalcraftsman

Not able to install the theme

Hi, tried installing and getting below error. Can you please help?

D:\GDrive\hugo\sae>hugo serve
Building sites . ERROR 2018/10/23 18:09:57 Error while rendering "taxonomy" in "
": template: _default\list.html:11:4: executing "frontmenu" at <partial "nav.htm
l" .>: error calling partial: template: partials/nav.html:39:19: executing "part
ials/nav.html" at <.Paginate>: error calling Paginate: 'pager size' must be a po
sitive integer
ERROR 2018/10/23 18:09:57 Error while rendering "taxonomyTerm" in "": template:
categories\terms.html:8:4: executing "frontmenu" at <partial "nav.html" .>: erro
r calling partial: template: partials/nav.html:39:19: executing "partials/nav.ht
ml" at <.Paginate>: error calling Paginate: 'pager size' must be a positive inte
ger
ERROR 2018/10/23 18:09:57 Error while rendering "home" in "": template: index.ht
ml:3:4: executing "frontmenu" at <partial "nav.html" .>: error calling partial:
template: partials/nav.html:39:19: executing "partials/nav.html" at <.Paginate>:
error calling Paginate: 'pager size' must be a positive integer
ERROR 2018/10/23 18:09:57 Error while rendering "taxonomyTerm" in "": template:
taxonomy\terms.html:8:4: executing "frontmenu" at <partial "nav.html" .>: error
calling partial: template: partials/nav.html:39:19: executing "partials/nav.html
" at <.Paginate>: error calling Paginate: 'pager size' must be a positive intege
r
ERROR 2018/10/23 18:09:57 Error while rendering "404" in "": template: 404.html:
6:4: executing "frontmenu" at <partial "nav.html" .>: error calling partial: tem
plate: partials/nav.html:39:19: executing "partials/nav.html" at <.Paginate>: er
ror calling Paginate: 'pager size' must be a positive integer
Total in 277 ms
Error: Error building site: logged 5 error(s)

Integrating semantic sidebar

Currently, the header card is being used which is inefficient because it consumes a lot of space. A better option would be to use Semantic UI Sidebar instead. I have worked with it and seems to be buggy. The only issue with it is in the categories section. The category title and category content aren't displayed correctly (they should be in a line).

2018-02-10-095823_1366x768_scrot

Here's the docs for sidebar.
Adding something to the pusher div would also be helpful. Here's the code which is causing faults:

<body>
  <div class="ui sidebar inverted vertical menu">
   {{ partial "header.html" . }}  
  </div>
  <div class="pusher">
    <!-- Site content !-->
  </div>
</body>

Increase Support for Google Analytics

Is your feature request related to a problem? Please describe.
I have an issue where the google analytics code isn't added to the default landing page (/index.html) once the site is built. However the code is added to my "posts pages"

Describe the solution you'd like
Please include the Google Analytics code into the default landing page so that more accurate analytics can be collected.

Describe alternatives you've considered
I am looking into manually adding it in via my hugo build, if i work it out I will raise a PR :)
I also looked at just adding it at the cloudflare level but I seem to be having an issue with that due to other parts of my setup.

Additional context
To enable it on the posts pages all i did was add,

googleAnalytics = "UA-111111111-1"

To the root of the config.toml right under the robots.txt param.

post links are always http , not https

I already set baseurl in config.toml to https://my_site
but the default page link still http , not https
is there any way to change default post link from http to https ?

Missing linkedin social link on website

Describe the bug
Providing linkedin = username in the social section of config does not cause linkedin link to show up on the website.
See https://github.com/mohammedzee1000/site/blob/master/config.toml#L52

To Reproduce
Simply add linkedin = username in the config file and run the website, and look for linkedin

Expected behavior
Providing linkedin username should cause link to linkedin account to appear on the website

Screenshots
No linkedin?

Your project
https://github.com/mohammedzee1000/site

Hugo version

$ hugo version
Hugo Static Site Generator v0.48 linux/amd64 BuildDate: 2018-08-29T09:43:02Z

Setting bgList causes background to fail

Describe the bug
Setting bgList = ["image1", "image2", "image3"] not working as expected. Opening javascript console in chrome, shows error. There is no background image.

...
<body><script>
var prevBgIndex = 0;
var bodyBgSwitchIndex = 0;var images =["https://i.imgur.com/eUbCxlN.jpg","https://i.imgur.com/UyzdNMD.png"]var randomNumber = getRandomInt(0, images.length)
		bgImage = "url(" + images[randomNumber] + ")"
...

Error :

Uncaught syntaxerror: Unexpected token var.

To Reproduce
Simply provide any bgList in the config files. I am inclined to think the issue might be with externally hosted images. But i could be wrong as i didnt test bgList with local images.

Expected behavior
One of the images should be in background.

Screenshots
SS of chrome debugger

Your project
https://github.com/mohammedzee1000/site

Hugo version

$ hugo version
Hugo Static Site Generator v0.48 linux/amd64 BuildDate: 2018-08-29T09:43:02Z

Hugo building error "execute of template failed"

Describe the bug
Hi, I will report it because I could not solve it.(And Im not Native English Speaker, Sorry.)

I Commanded hugo, but cant build Site.

error log is here.

Building sites … ERROR 2019/02/20 12:45:33 [jp] page "/root/project/content/posts/flutter_tips_002.md": render of "page" failed: execute of template failed: template: posts/single.html:6:5: executing "posts/single.html" at <partial "head.html" ...>: error calling partial: "/root/project/themes/dream-plus/layouts/partials/head.html:7:50": execute of template failed: template: partials/head.html:7:50: executing "partials/head.html" at <$.Site.Params.author...>: can't evaluate field name in type interface {}
ERROR 2019/02/20 12:45:33 [jp] page "/root/project/content/posts/game_2018_of_the_year.md": render of "page" failed: execute of template failed: template: posts/single.html:6:5: executing "posts/single.html" at <partial "head.html" ...>: error calling partial: "/root/project/themes/dream-plus/layouts/partials/head.html:7:50": execute of template failed: template: partials/head.html:7:50: executing "partials/head.html" at <$.Site.Params.author...>: can't evaluate field name in type interface {}
ERROR 2019/02/20 12:45:33 [jp] page "/root/project/content/posts/flutter_tips_001.md": render of "page" failed: execute of template failed: template: posts/single.html:6:5: executing "posts/single.html" at <partial "head.html" ...>: error calling partial: "/root/project/themes/dream-plus/layouts/partials/head.html:7:50": execute of template failed: template: partials/head.html:7:50: executing "partials/head.html" at <$.Site.Params.author...>: can't evaluate field name in type interface {}
ERROR 2019/02/20 12:45:33 [jp] page "/root/project/content/posts/game_mtga_001_newbie.md": render of "page" failed: execute of template failed: template: posts/single.html:6:5: executing "posts/single.html" at <partial "head.html" ...>: error calling partial: "/root/project/themes/dream-plus/layouts/partials/head.html:7:50": execute of template failed: template: partials/head.html:7:50: executing "partials/head.html" at <$.Site.Params.author...>: can't evaluate field name in type interface {}
Total in 421 ms
Error: Error building site: failed to render pages: [jp] page "/root/project/content/posts/kotlin_tutorial_basic_001.md": render of "page" failed: execute of template failed: template: posts/single.html:6:5: executing "posts/single.html" at <partial "head.html" ...>: error calling partial: "/root/project/themes/dream-plus/layouts/partials/head.html:7:50": execute of template failed: template: partials/head.html:7:50: executing "partials/head.html" at <$.Site.Params.author...>: can't evaluate field name in type interface {}
Exited with code 255

Previously I could deploy it without probleml. (on 27 Dec 2018)

I deployed it after a long absence and failed.
First of all it was said that the version of hugo is old, so I updated dockerImage.

After that, the attached error came out.
How should I do?

Your project
Project repository is here. https://github.com/SasakiYuki/bibo-log

Hugo version
cibuilds/hugo:latest using docker image is this.

Mixing cards / posts site

Hello !
I was wondering if it's possible to have multiple sections some using cards and other using post.
Better is to tell what I'm trying to achieve:

  1. Front page (first layer) : card view, linking to second layer.
  2. Second layer: card view, linking to third layer.
  3. Third layer: which should be your post view (card -> single post item).

Any help greatly appreciated. I could do this running multiple instance of Hugo, but trying to avoid this. Thanks!

Syntax highlighting

On the Hugo website, this theme is tagged as having syntax highlighting, but even on the demo site, the code is all one color. Is this mis-tagged, or is syntax highlighting under development?

Warning: calling IsSet

Hello, after installing and generating the demo page Hugo throws an error.

hugo server
οΏ½[?25lBuilding sites … WARNING: calling IsSet with unsupported type "invalid" () will always return false.

How can i fix it ?
I hope you can help me :)

The Theme is very beautiful by the way.

Greetz Christopher

Page Description pulls full body text

I just noticed that the description for my page is a bit bloated - in fact it looks like it's pulling body text and TOC instead of the provided description. I looked at head.html in partials and it seems OK (referred to {{- .Site.Params.description -}}) so the issue must be somewhere deeper under the covers.

image

`---
title: "Improving Conversion Win-Loss"
output:
blogdown::html_page:
toc: true
toc_depth: 1
fig_width: 8
dev: "svg"
author: "Houston Haynes"
date: '2018-07-24T14:59:43+05:30'
cover: /img/Micro-services.png
description: Walkthrough of analysis and remediation of web scale e-commerce win-loss ratios
draft: no
tags:

  • AWS
  • micro-services
  • Splunk
  • MapReduce
  • SOLR/Lucene
  • Groovy
    categories: web scale
    ---`

Lazyload images/different resolutions?

I implemented that on my own fork of your work in case you are interested if not sorry for bothering your again:

Script looks like this:
https://gitlab.com/Sheppy_/atlantishq-blog-dreamplus/blob/master/static/js/lazyload.js

The cards/posts would have to be changed like this:
https://gitlab.com/Sheppy_/atlantishq-blog-dreamplus/blob/master/layouts/post/summary.html

<article class="blog-card none flexbox" rrealsrc="url(/{{ .Params.cover }})" style="/placeholder.svg">
    <img class="image jsonly" src="/placeholder.svg" rrealsrc="url(/{{ .Params.cover }})"></img>

I convert pictures with this script:

for filename in ${PATH}/*.jpg; do
	/usr/local/bin/magick ${filename} -gravity NorthWest -crop 4:3 +repage ${filename}
	/usr/local/bin/convert -resize 640x480 ${filename} ${filename}-640x480
        /usr/local/bin/convert -resize 320x240 ${filename} ${filename}-320x240
done
for filename in ${PATH}/*.jpg*; do
        /usr/local/bin/convert ${filename} ${filename}.webp
done

really helps with speed on mobile internet

How to set rssButton to False

rssButton is defined as always true, how do I set it to false?

{{ partial "nav.html" (dict "context" . "rssButton" true "contentType" $contentType) }}

I am new to the Hugo ecosystem. Thanks for helping helping such a novice question :)

Reducing repository size

Dream Plus' repository has become huge in terms of size. Any ideas on how to make it lighter? The content itself isn't as huge. All the size is due to .git folder.
The cloning is getting slow due to this.

Issues with newer versions of hugo

Describe the bug
I am having issues with newer versions of Hugo as they look to be breaking the site.
My 404 and about me both fail to render correctly and have default content or missing some parts.

To Reproduce
edit about and 404 .md files under content/posts and run hugo build. I use hugo --cleanDestinationDir --forceSyncStatic --gc --minify --templateMetrics --templateMetricsHints --verbose

Expected behavior
all content of the 404 and about pages should render in the files.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Additional context
If I manage to work it out I will create a pull request for everyone, so even some hints that might help would be great.

you can also view my 404 and about pages in the source below and check my site lucassymons.net to see the issue.

Your project
https://bitbucket.org/LucasSymons/lucassymons.net

Hugo version
Hugo Static Site Generator v0.62.0/extended linux/amd64

Disqus images not displaying

For some reason, the Disqus images aren't being attributed with the src attribute properly in Chrome(Firefox is displaying the images properly). Due to this, the commenters' avatars won't load up and instead, there's a default image in its place. I'm not quite able to put my finger on the culprit for this.

Chrome

Chrome

Firefox

Firefox

After installing and re-installing. Just can't get it work :(

First, congrats for such an amazing theme!

Describe the bug

It doesn't show on the localhost. Just blank. Have installed several times. Have also followed the video tutorials and the documentation of instaling Hugo what it seems fine.

Have wrote on the config.file the theme = "hugo-dream-plus"
Have changed the baseUrl in diferent ways. But it doesn't look in the tutorials as relevant so I left it like by default.
Have moved posts into quickstart/content

It seems there is a deprecated error .Hugo what it seems to come from the theme files (if I'm not wrong)

To Reproduce
here the code:

root@user:/usr/local/bin/quickstart# hugo server
Building sites … WARN 2019/05/20 20:56:57 Page's .Hugo is deprecated and will be removed in a future release. Use the global hugo function.
ERROR 2019/05/20 20:56:57 render of "home" failed: execute of template failed: template: index.html:11:5: executing "index.html" at <partial "background.html" .>: error calling partial: "/usr/local/bin/quickstart/themes/dream-plus/layouts/partials/background.html:23:11": execute of template failed: template: partials/background.html:23:11: executing "partials/background.html" at <len $bgList>: error calling len: len of untyped nil
ERROR 2019/05/20 20:56:57 render of "taxonomyTerm" failed: execute of template failed: template: taxonomy/terms.html:11:5: executing "taxonomy/terms.html" at <partial "background.html" .>: error calling partial: "/usr/local/bin/quickstart/themes/dream-plus/layouts/partials/background.html:23:11": execute of template failed: template: partials/background.html:23:11: executing "partials/background.html" at <len $bgList>: error calling len: len of untyped nil
ERROR 2019/05/20 20:56:57 render of "taxonomyTerm" failed: execute of template failed: template: taxonomy/terms.html:11:5: executing "taxonomy/terms.html" at <partial "background.html" .>: error calling partial: "/usr/local/bin/quickstart/themes/dream-plus/layouts/partials/background.html:23:11": execute of template failed: template: partials/background.html:23:11: executing "partials/background.html" at <len $bgList>: error calling len: len of untyped nil
ERROR 2019/05/20 20:56:57 render of "page" failed: execute of template failed: template: posts/single.html:11:5: executing "posts/single.html" at <partial "background.html" .>: error calling partial: "/usr/local/bin/quickstart/themes/dream-plus/layouts/partials/background.html:23:11": execute of template failed: template: partials/background.html:23:11: executing "partials/background.html" at <len $bgList>: error calling len: len of untyped nil
Total in 27 ms
Error: Error building site: failed to render pages: render of "section" failed: execute of template failed: template: posts/section.html:11:5: executing "posts/section.html" at <partial "background.html" .>: error calling partial: "/usr/local/bin/quickstart/themes/dream-plus/layouts/partials/background.html:23:11": execute of template failed: template: partials/background.html:23:11: executing "partials/background.html" at <len $bgList>: error calling len: len of untyped nil
root@user:/usr/local/bin/quickstart# hugo server
Error: "/usr/local/bin/quickstart/themes/hugo-dream-plus/layouts/partials/header.html:12:1": parse failed: template: partials/header.html:12: malformed character constant: 'popTagsCategories'

Expected behavior
Just want to see it on localhost:1313

Additional context
I'm using Linux and followed the Debian installing.

Your project
If possible, give the link to your Hugo site project repository.

Hugo version

Hugo Static Site Generator v0.55.6-A5D4C82D linux/amd64 BuildDate: 2019-05-18T07:56:30Z

Any help would be really appreciated.

Love this template!

About page flip not working

Hi,
Thank you for your awesome theme!

I copied the exampleSite with the provided config.toml file and the site loads fine on localhost:1313, but clicking on the About Me button on the top left doesn't do anything. I had also tried to use my own content and this didn't work either. But when I go to the demo sites on the web this works. What could be the problem? I like the feature and although not a programmer would like to try and make this work for switching langages.
Thanks for any insight.

Render about as Rmd?

Is it possible to render the about page using R markdown? I've tried to hack my way through it (changing the shortcode in about.html in partials) and things turned ugly very quickly. I'm suing .Rmd for all post entries and it's working group. Any thoughts converting the about? Thanks!

Error: "/home/itmoox/mysite/themes/dream-plus/layouts/partials/head.html:18:1": parse failed: template: partials/head.html:18: function "hugo" not defined

Describe the bug
A clear and concise description of what the bug is.
Error: "/home/itmoox/mysite/themes/dream-plus/layouts/partials/head.html:18:1": parse failed: template: partials/head.html:18: function "hugo" not defined

To Reproduce
State the steps which are to be followed for reproducing the bug you've encountered.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Your project
If possible, give the link to your Hugo site project repository.

Hugo version
State the version of your Hugo installation.

MIT license condition unmet

Hi. I was looking over your LICENSE file and noticed you haven't included Copyright (c) 2017 Yue Yang which is a requirement of the license. You should probably add that as there are now 58 forks of your work which may be infringing the rights of the original creator.

Card size (number of columns)

Is there a way to make the cards smaller?
I would like to create a card grid of 4x3 cards.

PS: Thanks for this awesome theme :-)

url '/404/' generated in sitemap.xml

Describe the bug
A clear and concise description of what the bug is.

The 404 page is generated in sitemap.xml.

The webmaster tool of google will report the link of '/404/' problematic as not found.

To Reproduce
State the steps which are to be followed for reproducing the bug you've encountered.

Expected behavior
A clear and concise description of what you expected to happen.

I checked some other themes of hugo, I find there is no /404/ link in sitemap.xml. Might there is a way to gracefully exclude the url '/404/' from the sitemap.xml.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Your project
If possible, give the link to your Hugo site project repository.

Hugo version
0.53+

Post tags list is listing all tags

Describe the bug
The tag list on the bottom of individual posts is listing all of the site's tags, instead of just the tags for that post.

To Reproduce

  1. Create multiple posts with different tags (so that any given post only has some of the tags).
  2. Build.
  3. View a post.

See also: the demo site

Expected behavior
A post should only have its own tags in its footer.

Screenshots
GCI page source tags:
GCI page source tags

GCI page rendered tags
GCI page rendered tags

Additional context
A little experimenting shows that changing, in tags.html:

{{ range $name, $taxonomy := $.Site.Taxonomies.tags }}

to

{{ range $name := .Params.tags }}

appears to result in the expected behavior (however, I don't know enough about Hugo to know whether this has any side effects).

Hugo version
Stable 0.51

Add Support For "Series" (/Custom?) Taxonomy

Is your feature request related to a problem? Please describe.
The theme currently only supports the default taxonomies, which probably works for most people, but it'd be nice if at least a "series" custom taxonomy could be supported.

Describe the solution you'd like
I know of two ways this could work off the top of my head:

  1. (Easy, but rigid) "Series" is just plain added as a taxonomy and if it's used, then it appears in the header, similar to how Categories and Tags already work. The sidebar could then also include the available series in a humanized list.
  2. (More involved, but more scaling potential) Hooks are added to allow for taxonomies to be configured in settings, probably with a dictionary that links the taxonomy to an icon to use in the header. There could also be an option to include the taxonomy in the sidebar, appearing similar to option 1.

Describe alternatives you've considered
The Categories taxonomy could technically be used to fill this role, but (to me at least) this seems kind of stretching the purpose of categories.

Additional context
The list page, itself, already works okay, albeit in need of a little tweaking to reflect arbitrary taxonomies.

image

See for reference: Whiteplain theme's list template (its documented setup includes the "series" taxonomy).

add Open Graph protocol

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Telegram and fackbook can't display my blog preview because Open Graph protocol is not supported.

Describe the solution you'd like
A clear and concise description of what you want to happen.
http://ogp.me/. Just add a few meta tags

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

It doesn't show social inks

Social aren't displaying properly I think. Or maybe is my fault but can't see why...

paraHugo7

paraHugo6

Get also a kind of sintactic error or maybe is not calling properly the variables (?)

paraHugo5

Any advice would be really appreciated :)

Readme instruction is incomplete

Describe the bug
If one is going through steps of making site and adds my-first-post.md to the project root /contents folder, the following errors are shown in terminal and no site is generated. Something is missing. Perhaps instruction about contents hierarchy.

To Reproduce
Do everything as it is in readme. Then add my-first-post.md to the project root /contents folder and run hugo server -D

Expected behavior
Site builds and shows at localhost:1313.

Screenshots
https://otkuda.to/2EdNvOA

Additional context
Building sites … ERROR 2018/10/12 11:00:58 Error while rendering "taxonomy" in "": template: _default/list.html:11:4: executing "frontmenu" at <partial "nav.html" .>: error calling partial: template: partials/nav.html:39:19: executing "partials/nav.html" at <.Paginate>: error calling Paginate: 'pager size' must be a positive integer ERROR 2018/10/12 11:00:58 Error while rendering "section" in "": template: posts/section.html:18:8: executing "posts/section.html" at <partial "flip.html" ...>: error calling partial: template: partials/flip.html:8:9: executing "partials/flip.html" at <readFile "/content/a...>: error calling readFile: stat /Users/jev/blog_project/content/content/about.md: no such file or directory ERROR 2018/10/12 11:00:58 Error while rendering "taxonomyTerm" in "": template: categories/terms.html:8:4: executing "frontmenu" at <partial "nav.html" .>: error calling partial: template: partials/nav.html:39:19: executing "partials/nav.html" at <.Paginate>: error calling Paginate: 'pager size' must be a positive integer ERROR 2018/10/12 11:00:58 Error while rendering "page" in "posts/": template: posts/single.html:18:8: executing "posts/single.html" at <partial "flip.html" ...>: error calling partial: template: partials/flip.html:8:9: executing "partials/flip.html" at <readFile "/content/a...>: error calling readFile: stat /Users/jev/blog_project/content/content/about.md: no such file or directory ERROR 2018/10/12 11:00:58 Error while rendering "home" in "": template: index.html:3:4: executing "frontmenu" at <partial "nav.html" .>: error calling partial: template: partials/nav.html:39:19: executing "partials/nav.html" at <.Paginate>: error calling Paginate: 'pager size' must be a positive integer ERROR 2018/10/12 11:00:58 Error while rendering "taxonomyTerm" in "": template: taxonomy/terms.html:8:4: executing "frontmenu" at <partial "nav.html" .>: error calling partial: template: partials/nav.html:39:19: executing "partials/nav.html" at <.Paginate>: error calling Paginate: 'pager size' must be a positive integer ERROR 2018/10/12 11:00:58 Error while rendering "404" in "": template: 404.html:6:4: executing "frontmenu" at <partial "nav.html" .>: error calling partial: template: partials/nav.html:39:19: executing "partials/nav.html" at <.Paginate>: error calling Paginate: 'pager size' must be a positive integer

Hugo version
v0.49.2

Accordion hide/display for header tags and categories

This theme consists of a header, the one which appears on the homepage with the author avatar etc., which contains the tags and categories. These categories and tags are hidden if the viewport height is insufficient and a button appears on the top-right of the header.
Currently, the tag/category hide/show action is based on display property and hence quite primitive. It would be better to use accordion for the hide/show action.

building error

I following the instructions, but get some error messages like below

chchang@chchang-Aspire-M3920:~/hugo/MC_HUGO$ hugo server --bind=0.0.0.0 --baseUrl=http://h.mc4.us/ --theme=dream-plus
Building sites … ERROR 2018/04/20 07:27:52 Error while rendering "home" in "": template: /home/chchang/hugo/MC_HUGO/themes/dream-plus/layouts/index.html:2:3: executing "frontmenu" at <partial "nav.html" .>: error calling partial: template: theme/partials/nav.html:39:18: executing "theme/partials/nav.html" at <.Paginate>: error calling Paginate: 'pager size' must be a positive integer
ERROR 2018/04/20 07:27:52 Error while rendering "404" in "": template: /home/chchang/hugo/MC_HUGO/themes/dream-plus/layouts/404.html:6:3: executing "frontmenu" at <partial "nav.html" .>: error calling partial: template: theme/partials/nav.html:39:18: executing "theme/partials/nav.html" at <.Paginate>: error calling Paginate: 'pager size' must be a positive integer
ERROR 2018/04/20 07:27:52 Error while rendering "page" in "post/": template: /home/chchang/hugo/MC_HUGO/themes/dream-plus/layouts/post/single.html:6:3: executing "frontmenu" at <partial "nav.html" .>: error calling partial: template: theme/partials/nav.html:39:18: executing "theme/partials/nav.html" at <.Paginate>: error calling Paginate: Paginators not supported for pages of type "page" ("My First Post")
ERROR 2018/04/20 07:27:52 Error while rendering "page" in "post/": template: /home/chchang/hugo/MC_HUGO/themes/dream-plus/layouts/post/single.html:6:3: executing "frontmenu" at <partial "nav.html" .>: error calling partial: template: theme/partials/nav.html:39:18: executing "theme/partials/nav.html" at <.Paginate>: error calling Paginate: Paginators not supported for pages of type "page" ("")

                   | ZH | TW | EN | DE  
+------------------+----+----+----+----+
  Pages            |  3 |  4 |  3 |  3  
  Paginator pages  |  0 |  0 |  0 |  0  
  Non-page files   |  0 |  0 |  0 |  0  
  Static files     | 23 | 23 | 23 | 23  
  Processed images |  0 |  0 |  0 |  0  
  Aliases          |  1 |  1 |  1 |  1  
  Sitemaps         |  2 |  1 |  1 |  1  
  Cleaned          |  0 |  0 |  0 |  0  

Total in 103 ms
Watching for changes in /home/chchang/hugo/MC_HUGO/{content,data,layouts,static,themes}
Watching for config changes in /home/chchang/hugo/MC_HUGO/config.toml
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at http://h.mc4.us:1313/ (bind address 0.0.0.0)
Press Ctrl+C to stop

any suggestions ?

Major

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
State the steps which are to be followed for reproducing the bug you've encountered.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Your project
If possible, give the link to your Hugo site project repository.

Hugo version
State the version of your Hugo installation.

Social Link missing facebook

Describe the bug
I setting Social Link an facebook in Config.toml, but I can't see icon in web site.

To Reproduce
Simply add facebook = username in the config file and run the website, and look for facebook

Expected behavior
Providing facebook username should cause link to facebook account to appear on the website

Hugo version
Hugo Static Site Generator v0.55.5/extended darwin/amd64 BuildDate: unknown

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.