Giter Site home page Giter Site logo

hugo-future-imperfect's Introduction

Hugo Future Imperfect

Future Imperfect is a responsive theme tailored for blogging. The name is of no coincidence, because it is a port of HTML5 UP's theme by the same name. In addition to the original features, there are more features that have been added for you to utilize.

Hugo Future Imperfect Screenshot

Check out this site if you are interested in seeing a live example.

Table of Contents

Getting Started

Run the following commands in your Hugo site directory:

mkdir themes
cd themes
git clone https://github.com/jpescador/hugo-future-imperfect.git

You will then have access to the theme at themes/hugo-future-imperfect from within your project folder.

exampleSite

Within the hugo-future-imperfect folder, there will be a folder in this theme called exampleSite. The structure of the folder will look like this:

exampleSite
├── config.toml
├── staticman.yml
├── content
|   ├── about
|   |   └── _index.md
|   ├── blog
|   │   ├── creating-a-new-theme.md
|   │   ├── goisforlovers.md
|   │   ├── hugoisforlovers.md
|   │   └── migrate-from-jekyll.md
|   ├── contact
|   │   └── _index.md
|   └── itemized
|       ├── item1.md
|       ├── item2.md
|       ├── item3.md
|       └── item4.md
├── data
│   └── comments
│       └── .gitkeep
└── static
    ├── css
    │   └── add-on.css
    ├── img
    |   ├── 2014
    |   |   ├── 04
    |   |   |   ├── pic02.jpg
    |   |   |   └── pic03.jpg
    |   |   └── 09
    |   |       └── pic01.jpg
    |   └── main
    |       └── logo.jpg
    └── js
        └── add-on.js

Copy config.toml from exampleSite to the root directory of your Hugo site. If you want static comments hosted by Staticman, also copy the staticman.yml.

config.toml

This file is the main sorce of customization within the theme. Each parameter has a comment included to explain its functionality. Typical usage of true means to turn a function on, while false means to turn a function off.

This file consists of six main sections. The first section contains the site wide parameters innate to Hugo. The second section, [params], contains site wide parameter that are custom to the hugo-future-imperfect theme. The third section, [params.staticman] controls how staticman comments interact with your repository. The fourth section, [params.intro] and [params.postAmount], control aspects of the sidebar. The fifth section, [[menu.main]], sets the navigation menu items. Lastly, the sixth section, [social], allows you to easily link to, and include, various social platforms.

Hugo's Built-In Server

Run the following command to start a local server and to view a live version of the website:

hugo server

You will then be able to view your live website at localhost:1313.

Hugo's website SEO

This theme support SEO elements for your website. It was adapted and integrated thanks to the following guide:
https://keithpblog.org/post/hugo-website-seo/

If you wish to enable SEO on this theme, follow these instructions:

  1. To include the following parameters in your config.toml
# .config.toml
...
enableRobotsTXT = true
canonifyURLs = true
# and if you think your md file names or locations might change:
[permalinks]
    post = "/blog/:title/"
...
  1. Add your website to Google Search Console:

    • Login to the Google Search Console
    • Add your website as property
    • Add the html page as required by google to verify ownership
    • Submit the sitemap (/sitemap.xml) for indexing
    • Wait
  2. Add your website to Bing

    • Login to the Bing Webmaster Console
    • Add your site, details and verify
    • From the 3 option, we recommend adding the xml file to you website

Shortcodes

In addition to the native Hugo shortcodes, the theme also includes the following codes that I hope you find useful: fancybox, img-post, img-fit, and url-link.

fancybox

Fancybox is a jQuery lightbox script for displaying images, videos and more. It is touch enabled, responsive and fully customizable. The commands are shown below:

Named

{{< fancybox path="path" file="file" caption="caption" gallery="gallery" >}}

Positional

{{< fancybox "path" "file" "caption" "gallery" >}}

Please refer to layouts/shortcodes/fancybox.html for more details on the function.

Credit: pacollins


img-post

Add an image which can be aligned center, left, or right. The commands are shown below:

Named

{{< img-post path="date" file="filename.jpg" alt="Alt Text" type="left" >}}

Positional

{{< img-post "title" "filename.jpg" "Alt Text" "left" >}}

Please refer to layouts/shortcodes/img-post.html for more details on the function.

Credit: jpescador


img-fit

Insert multiple images with the ability to create a gallery if needed. The command is shown below:

Positional Only

    {{< img-fit
        "4u" "filename1.jpg" "Alt text 1"
        "4u" "filename2.jpg" "Alt text 2"
        "4u$" "filename3.jpg" "Alt text 3"
        "date" >}}

Please refer to layouts/shortcodes/img-fit.html for more details on the function.

Credit: jpescador


url-link

Create a hyperlink and set a target value for the link. The default value is _blank. The command is shown below:

Positional Only

{{< url-link "title" "www.link.com" "target">}}

Please refer to layouts/shortcodes/url-link.html for more details on the function.

Credit: jpescador

About the Author

Hugo Future Imperfect was ported by Julio Pescador. Extra features implemented by the project contributors.

Send Julio Pescador a tweet @julio_pescador, if you like the theme and are using it for your own personal use.

License

This theme is released under the MIT license. Please read the license for more information.

hugo-future-imperfect's People

Contributors

berncarney avatar bwinterton avatar cberner avatar danovando avatar dudil avatar fenicks avatar hjiawei avatar hodgy avatar isometimescode avatar jean85 avatar jgillich avatar jpescador avatar pacollins avatar rlees85 avatar sahil87 avatar sankame avatar statnmap 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

hugo-future-imperfect's Issues

Live Search

Feature or Expected Behavior

Add a local search the utilizes site index json or similar.

Currently looking at:

Open to other ideas and feel free to discuss below.

Current Behavior

The theme currently uses Google site_search, which is great, but it takes users away from the site and looses control of themeing.

Create Wiki

Need some opinions on this. Should we keep the README.md clean and more descriptive and move things like explaining shortcodes/features to the Wiki, OR just make the README.md cleaner, OR just make a post within the example site showcasing them all?

Custom css support

May you add this snippet to config file:

[params]
    custom_css = ["path/to/custom.css"]

Light code block

By default, when I add a code block it has a dark background.

In the example site there is a code sample that has a light background - however, I couldn't find any setting regarding this.

Thanks!

Issue\Bug: h1 element font-size is not set on the main.css file

Expected Behavior

h1 post headers should be slightly bigger than h2 headers on posts

Current Behavior

I'm not sure if intended but currently h1 is slightly smaller than h2 headers on posts. The reason for that is that h1 don't-size property is not set under the main.css theme file

Possible Solution

Add h1 property to the css file (after line 212).

h1 {
        font-size: 1.3em;
 }
  • if this is proper solution I will be happy to assist with PR

Steps to Reproduce or Template with Error (for bugs)

  1. Create markdown file with 3 headers, h1 (#), h2(##) h3(###)
  2. Generate website preview, you should notice h2 is little bigger than h1

Context

It is making the post to look weird when using both headers

Your Environment

Hugo Version:
0.35

Browser:
Safari OSx/iOS

Desktop or Mobile:
Both

Link to your project:
https://elv8.co

Refs to the theme included .js and .css files should respect baseURL

The templates use hard coded relative references for the files. This breaks when deploying to anything that isn't a host only URL, i.e, deploying to http://blog.joe.com works, but http://joe.com/blog would not, because it would look for the .js and .css under http://joe.com/js and http://joe.com/css rather than http://joe.com/blog/js etc.

I think changing the links in the templates to
href="{{ .Site.BaseUrl }}/css/whatever.css" should work.

Will try and see. I assume the extra slashes get stripped.

Toggle to hide category in sidebar

  • I am running the latest version of Hugo - Yes
  • I am using the latest version of Hugo-Future-Imperfect - Yes
  • I checked the documentation and found no answer - Yes
  • I checked the issues to make sure that this issue has not already been filed - Yes

Expected Behavior

An option in config.toml something along the lines of socialAppearAtTop viz. displayCategories which essentially toggles Categories section in sidebar.

Current Behavior

Currently, there isn't a way to hide the Categories section in sidebar, unless I overlooked some part of documentation in which case it would be great if someone could point me the right direction.

Possible Solution

  1. Add displayCategories = false to config.toml.
  2. Wrap this block in if condition using displayCategories

Context

Aiming to keep the sidebar clean (and less cluttered). I'd rather prefer to dedicate a page to show all available (or most used) categories instead of crowding sidebar. Moreover, it adds a level of flexibility.

Enhancement: Add SEO parameters to theme

Expected Behavior

I suggest an improvement to implement SEO code to websites.
The implementation is following the description in the following blog:
https://keithpblog.org/post/hugo-website-seo/
I've implemented the changes on my own site and they are working fine and easy to set.
I'll be happy to submit a PR if relevant to the general public

Current Behavior

The SEO parameter do not implemented today in theme and needed to be added manually.

Possible Solution

If not implemented on theme level, one could follow the instructions above to set it manually.

Steps to Reproduce or Template with Error (for bugs)

N/A

Context

I was trying to push my site via the search engines and was looking for the right way to do so on Hugo

Your Environment

Hugo Version:
0.35

Browser:
OSX/iOS Safari

Desktop or Mobile:
Both

Link to your project:
https://elv8.co

Post banner images sometimes get not shown

Expected Behavior

When publishing a post with a featured image using "date" as path, the image should be always shown wherever the post is displayed.

Current Behavior

On some (sub)pages, sometimes the image(s) are not shown. It's either only the "latest posts" section or the post itself or both.

Possible Solution

Currently I've got no idea how that issue exactly happens so I can not provide any suggestion

Steps to Reproduce or Template with Error (for bugs)

For an example look at this page: https://new.internetfreak.net
You see that the site displays a feature image for the post. Now check here: https://new.internetfreak.net/about/
You'll see that the image disappeared from the sidebar. Checking the generated html source reveals the following image link: /date2017/11/launch.jpg

Context

This kind of issue looks weird and inconsistent as the image is sometimes visible and sometimes not visible

Your Environment

Hugo Version: 0.30.2

Browser: Firefox 56.0.2 64bit

Desktop or Mobile: Shouldn't matter but as I'm still developing I mostly experience it on desktop

Link to your project: see above for links

Note: I'm using a partially edited version of the template due to the hardcoded strings which I translated into german. I also added some taxonomy features (tags). For all modifications I copied the html file from the template into the layout folder of my site and then I started modding it so the original theme is left untouched as much as possible.

Questions regarding theme instructions

Hello @jpescador,

First of all, thank you for creating this theme and make it available. I am experimenting with it right now to create my own blog. After reading Hugo docs and your themes install instructions, I was able to setup a sample site of my own and running it locally. But there are a few things not clear from your instructions, thought I ask you here and perhaps you can adjust the instructions to make them more clear. Note that if these questions sound newbie, then they probably are as this is the first time I am trying out Hugo.

  1. I copied the contents of "/Users/zeekay/dev/blog/hugo/myblog/themes/hugo-future-imperfect/exampleSite/static" to "/Users/zeekay/dev/blog/hugo/myblog/static" and my site works locally. But when I copy the static from "/Users/zeekay/dev/blog/hugo/myblog/themes/hugo-future-imperfect/static" to "/Users/zeekay/dev/blog/hugo/myblog/static" then the site breaks. What is the point really to have static content in "/Users/zeekay/dev/blog/hugo/myblog/themes/hugo-future-imperfect/static"?
  2. Do I need to copy any content from "archetype", "images" or "layouts" from "/Users/zeekay/dev/blog/hugo/myblog/themes/hugo-future-imperfect/" to my site's root folders respectively? If not, then why are they there?
  3. What is the difference between a post and a blog in the context of this theme? They both render the same in my site.
  4. The root URL http://localhost:1313/ shows my recent post on the front page. But http://localhost:1313/blog/ shows summary list of posts / blogs. How to I make the default root url to show the summary list instead without redirecting the user?

Thanks
ZeeKay

Overflow/Horizontal scrolling on Itemized view on small screens

Expected Behavior

When an itemized (could be other types of post but have only tested itemized) post has a long description, text should not overflow.

Current Behavior

Text overflows and causes layout to have horizontal scrollbars on small screens as well as causing some misalignment of other layout elements such as the go-to-top arrow.
image

Just noticed that even with the normal example and normal sized descriptions, the mobile layout has some overflow issues.
image

Possible Solution

Part of the problem is with the margin of the <p> tag in main.css. However, fixing this corrects the long description layout issues, but does not fix the issue with the move-to-top navigation arrow.

Steps to Reproduce or Template with Error (for bugs)

  1. Open Example Site
  2. Using Chrome Dev tools, or something similar, change the viewport size to something small. I chose an iPhone 5 screen size of 320x568
  3. Navigate to the Itemized section

Context

Horizontal scrolling is generally a no-no on mobile sites. Would like to have everything rendered in the single column container so users can just scroll vertically to see content.

Your Environment

Windows 10
Windows Subsystem for Linux (Ubuntu)
IDE: Atom
Chrome

Hugo Version:

Browser:
Chrome Version 62.0.3202.94 (Official Build) (64-bit)

Desktop or Mobile:
Mobile view on desktop.

Link to your project:
https://github.com/BernCarney/BernCarney.github.io/tree/v2.0

Multilevel Menu

I noticed that identifiers is used to add an icon in the nav, so is there a way to have a drop down in the menu? I don't notice one so a request could be for this - something like parent and child.

Sidebar and post images don't display

Expected Behavior

Adding src path to image for intro pic parameter should display image on the sidebar.

Current Behavior

I have tried adding my image in various folders to try this out, but nothing has worked. The image on the sidebar doesn't display.

Possible Solution

Steps to Reproduce or Template with Error (for bugs)

You can check my github repo here: https://github.com/sejal27/bitsnpieces

Context

Your Environment

System: Windows 7

Hugo Version:
latest

Browser:
Chrome Latest

Desktop or Mobile:
Desktop

Link to your project:
Git repo : https://github.com/sejal27/bitsnpieces

layout for categories?

Expected Behavior

On render of the default categories page, it should present with a itemized view of all categories (with counts on each possibily) and the ability to drill down.

Current Behavior

When categories link (top) is clicked, I would expect a summary page of all categories to drill down into. Instead I get an empty page. There seems to be no valid layout for this.

Possible Solution

Steps to Reproduce or Template with Error (for bugs)

  1. Create a site
  2. Create at least a single post that is categorized, for example, using the exampleSite, there is Go, Hugo and Jekyll
  3. Click the link at the top "Categories" -> http://localhost:1313/categories/
  4. Observe a blank screen

Context

This can not be used as a functional site if it is not working.

Your Environment

Hugo Version:
Hugo Static Site Generator v0.31.1 darwin/amd64 BuildDate: 2017-12-03T23:09:32-05:00
Browser:
Chrome
Desktop or Mobile:
Desktop
Link to your project:
Private until all component are working

Not able to see disqus comments

Feature or Expected Behavior

After adding disqusShortname to config.toml I expect the disqus comments to show up.

Current Behavior

Disqus comments not showing up. Neither on localhost nor on live website.

The following change fixes this behaviour: sahil87@0996de2

I want to know if I am missing something, or if this was intended. If not, would be happy to submit this PR.

Invalid tag closed

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce or Template with Error (for bugs)

Context

If I understand correctly, what you want to do is that:

<h3>About</h3> 

This issue is my first sending in my github life. Forgive me if I'm wrong.

Thank you always for your great work.

Your Environment

Hugo Version:

Browser:

Desktop or Mobile:

Link to your project:
https://www.p-iris.com/

Long lines in post content breaks the layout

I'm having an issue with large items inside the content.
If I add something too large, the sidebar gets pushed to the side, without the possibility of scrolling the browser horizontally.

With images, this could be easily fixed with a img {max-width: 100%} CSS rule. But that is feasible because images are wrapped inside a p element.

The same issue is present (and not resolved in my case) with large block of code. The pre and code elements doesn't respond to the same rule, so I don't know how to fix it!

Anyone knows how to resolve this?

Do anybody want Cloudinary as a featuredpath option to support 3rd party storage and image transformation?

I have been working on a travel and photography blog using this theme for a few weeks now and I am using Cloudinary as a free service for domestic use and it works great.

I have mashed together some customizations which integrate display photos hosted in Cloudinary using the featuredpath front matter property and fancybox for embedding any image I want in the content markdown.

I am also using some Javascript to make the images responsive from the source if Cloudinary is your choosen "featuredpath".

All my customisations are on my github repo which hosts the website source: blgo/travel-blog

Would it be worth to tydi up my code - for this I might need a bit of help -, make Cloudinary cloud name configurable and create a branch for merging it into the theme?

Usage of absURL for internal links prevents hostname changes

Expected Behavior

When I change the hostname or DNS name of the server, all internal links of the site should still work. Hence, the usage of

<img src="/img/main/logo.jpg" alt="Hugo Future Imperfect">

is preferred over

<img src="https://example.com/img/main/logo.jpg" alt="Hugo Future Imperfect">

This behavior is needed when the generated site is promoted to a staging environment before it is promoted to the live environment.

Current Behavior

Currently, many of the internal links are generated including the baseurl value from config.toml. When the hostname changes many links break.

Possible Solution

relURL should be used over absURL.

 <link rel="stylesheet" href="{{ "css/site.min.css" | relURL }}">

instead of

 <link rel="stylesheet" href="{{ "css/site.min.css" | absURL }}">

Your Environment

Hugo Version: Hugo Static Site Generator v0.30.2 darwin/amd64 BuildDate: 2017-11-01T22:26:30+01:00

Issues installing the theme

While I'm able to clone other themes and use them directly by configuring the config.toml file or using hugo -t option, I'm unable to use future-imperfect using the same steps. For some reason the site's CSS is never rendered.

This is what I always get when I try to run Hugo using this theme. Is there a setup instruction that we're missing perhaps?

image

Error loading custom javascripts

Expected Behavior

Load Custom JS Scripts

Current Behavior

Nothing is loaded URL Points to:
http://localhost:1313/%7B%7B%20.%20%7D%7D

Possible Solution

Similar to CustomCSS (Which is working fine)

Steps to Reproduce or Template with Error (for bugs)

Use CustomJS in config.toml
customJS = ["/js/jquery-3.2.1.min.js", "/js/jquery.fancybox.min.js", "/js/skel.min.js", "/js/highlight.min.js"]

  1. Set CustomJS as described up
  2. Start Hugo server
  3. Debug in Browser and you will see http://localhost:1313/%7B%7B%20.%20%7D%7D

Context

Need loud JS from external sources (default)

Your Environment

Hugo Version:
v0.30.2

Browser:
62.0.3202.75

Desktop or Mobile:
Desktop

Link to your project:

categories link broken

Hi,

the categories link on the bottom of a post page seems to be missing a "/" in the path. When built, the link currently reads /categoriesmycategory where it should be /categories/mycategory.

The variable categoryUrl which is requested on this line seems to be missing that trailing slash.

Not sure if adding the trailing slash or changing the url in config.toml for the categories from

[[menu.main]]
    name = "Categories"
    url = "/categories"

to

[[menu.main]]
    name = "Categories"
    url = "/categories/"

is the right thing to do. What do you think?

best,
Patrick

where to show tags

I like this theme very,but when i use it, i can't find where my tags shown?
is there any other configurations?

Open menu in new tab

Expected Behavior

Blogs, portfolio require the ability to link other project or hosted live demo items to be opened in new tab

Current Behavior

Possible Solution

Under config.toml file there are configuration options like name, url, identifier, weight. If there is a option target = _blank HTML like configuration that would be handy or new-tab = true

Steps to Reproduce or Template with Error (for bugs)

Not Applicable.

Context

Blogs, portfolio require the ability to link other project or hosted live demo items to be opened in new tab

Your Environment

Hugo Version: v0.32.2

Browser: Chrome, Safari

Desktop or Mobile: Both

Site Title does not render

Site titles do not render on both my site and the example site. See the screenshot for details.

Using hugo version 0.17-1

recent-posts ID should be CLASS

Prerequisites:

  • Hugo Static Site Generator v0.32.1 linux/amd64 BuildDate: 2018-01-02T23:03:31+01:00
  • Using Hugo-Imperfect-Future ref: 3b30bf0

Expected Behaviour

Output HTML is valid. Elements with an ID should only appear once. For elements that appear more than once should use CLASS.

Current Behavior

recent-posts section appears in the HTML code twice, with an ID rather than class. This causes HTML validation to fail. The section appears twice on all rendered pages.

<section id="recent-posts">

  <div class="mini-posts">
  <header>
  <h3>Recent Posts</h3>
  </header>
   
   
    
    
    
    
    
  <article class="mini-post">
  <header>
  <h3><a href="/blog/welcome/">Home</a></h3>
    
  <time class="published" datetime=
  '2017-11-12'>
  November 12, 2017</time>
  </header>
   
   
  </article>
   
    
   
  </div>
  </section>

Possible Solution

<section class="recent-posts">

With CSS updated to match.

Steps to Reproduce or Template with Error (for bugs)

Context

Attempting to use Hugo with CI. For the testing stage trying to use HTML proofer. So far this theme as a few failures, this being one of them. I really like the theme, so would like to try and get them resolved. I am happy to submit a PR if it helps?

Your Environment

https://gitlab.com/rlees85-hugo/bitservices/

Some category pages fail to display when enter online but nothing wrong run in local env

Expected Behavior

categories page should work just like category php

Current Behavior

Some categories output like
ERROR: error on line 56 at column 61: PCDATA invalid Char value 8
and some will just show the XML files content
and some categories are OK.

One thing so wired that is it happens only when browse the deploy site and Nothing wrong when under local hugo server -D

Possible Solution

XML encode issue ??

front-format issue ??

// My front-format
+++
title = "centOS下的node部署环境搭建"
type = "post"
author = "Tecker.Yu"
date = "2017-06-08"
categories = ["linux"]
tags = ["linux", "deploy", "node", "centOS", "环境搭建"]

+++

Steps to Reproduce or Template with Error (for bugs)

  1. Go to category linux for ERROR
  2. Go to category node for only XML file content without html parsing

Hugo Version:
v0.31.1

Browser:
Chrome 63.0.3239.132

Desktop or Mobile:
both

Link to your project:
blog-powered-by-imperfect

Inactive Development

@jpescador I noticed that this was inactive and was trying to find a way to contact you (but no listed email) to ask if you mind if I, or someone else, take over its development - including change where gohugo.io references. I think the theme is great and I would love for people to be able to keep using it and keep it up to date. Let me know either here or on the issue posted on gohugoio/hugoThemes#285.

show tags and toc

Hi,
I am running the latest version of Hugo
and I am using the latest version of Hugo-Future-Imperfect , but when i use it ,i found it didn't show tags and toc for every post, is there any plan to Implement these functions?

duplicate baseUrl

Hi in some links i have the baseURL duplicate:

http://<domain>/builds/master/builds/master/where I set baseURL=/builds/master/via the commandline paramter, but had the same problem, when storing the baseURL in config.toml.

I used:

Hugo Static Site Generator v0.16 BuildDate: 2016-06-06T14:29:38+02:00

and the following docker image: mattoddie/hugo:latest

Using "Intro" title remove fixed header on mobile

Expected Behavior

Current Behavior

When using a markdown post file with the following Intro heading, it is replacing the "intro section" on the page head (notable on mobile view [iphone 6s])

# intro

Possible Solution

My guess is that it is happening since this action is referred on the CSS & JS as "#intro".
This is non programatic name and hence interfere with this possible (and very reasonable) header.

Possible workaround will be change in blog Intro to Introduction (if decided not to fix and anyone else encounter that)

Steps to Reproduce or Template with Error (for bugs)

  1. Create a new markdown file for blog post
  2. set one of the titles (anywhere on page) as "Intro" using the markdown notation:
# intro

This issues was reproduced with all H1, H2 & H3
3. View blog page on mobile
4. Page head is replaced by the word Intro

Context

Your Environment

Hugo Version:
0.34

Browser:
Safari on iOS
Desktop or Mobile:
Mobile

Link to your project:
https://elv8.co - I removed that from production # #

social icons still visible

If I set the:

socialAppearAtTop    = false
socialAppearAtBottom = false

They are still visible when generating the site.

Error on running Hugo

Hi nice theme, I get the following error on running with this theme in the console output:

ERROR: 2016/04/23 reflect: call of reflect.Value.Type on zero Value in theme/post/footer-category.html

Blog section does not have text format

In a particular post, the text format (like bold, italic) works well. However, when going to the blog section on the navigation bar, all the text (except the title) lose the format. Is it on purpose ? How can I change it ?

screen shot 2016-12-08 at 11 42 48 am
screen shot 2016-12-08 at 11 42 59 am

feed::rss

Hey man, really nice work.

Does it have support for rss?

Replace "post" in html with params

Hi
I'd like this theme. But when I use it. I found that some contents are missing.
I have three folders under /content/ . But in this theme can only show the content under /content/post.
I have check the source code. And I found like this where .Site.Pages "Type" "post". You have judge the page type in the code. I think this not very good, because If I have other types, They all can't be show.
I think you can't replace "post" with a param, so that we can show other pages by setting param.
thanks

uglyurls Hugo setting breaks build process

Expected Behavior

With the uglyurls set to true in config.toml, url links should have index.html appended to them.

Current Behavior

When uglyurls set to true, no html files are written for Blog, About, etc.

Expected:

public/
  ...
  contact/
    index.html
    index.xml
  ...  

Current:

public/
  ...
  contact/
    index.xml
  ...  

Possible Solution

One solution is to simply disregard this feature, which is actually quite reasonable since "ugly urls" aren't required for most setups.

Steps to Reproduce or Template with Error (for bugs)

  1. Create new hugo site: hugo new site testsite
  2. Clone down hugo-future-imperfect and copy examplesite data to root: git clone https://github.com/jpescador/hugo-future-imperfect.git themes/ && cp -a themes/hugo-future-imperfect/exampleSite/content ./
  3. Copy config.toml file to root: cp themes/hugo-future-imperfect/exampleSite/config.toml ./
  4. Set tag uglyurls = true in config.toml
  5. Build hugo -v

Context

Your Environment

Hosting on AWS S3 with Cloudfront requires that files end in index.html. I've tried a number of workarounds but no success.

Hugo Version:
v0.30.2

Browser:
Chrome v62 - macos

Desktop or Mobile:
Desktop

Link to your project:
github.com/zhirschtritt/my-website

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.