Code Monkey home page Code Monkey logo

hugo-creative-theme's Introduction

Creative Theme

Please note that this theme is no longer maintained.

Creative Theme is a one page portfolio for creatives based on the original Bootstrap theme by David Miller. Noteworthy features of this Hugo theme are several content sections and a responsive portfolio grid with hover effects and full page portfolio item modals.

Hugo Creative Theme Screenshot

Installation

Inside the folder of your Hugo site run:

$ cd themes
$ git clone https://github.com/digitalcraftsman/hugo-creative-theme

For more information read the official setup guide of Hugo.

Getting started

After installing the Creative Theme successfully it requires a just a few more steps to get your site running.

The config file

Take a look inside the exampleSite folder of this theme. You'll find a file called config.toml.

To use it, copy the config.toml in the root folder of your Hugo site. Feel free to change strings as you like to customize your website.

Change the hero background

The hero acts as an eye-catcher for your site. So consider to give him a nice background. You just need to replace the header.jpg at static/img with your own. But it's important that you use the same filename.

Add your services

This section should show your capabilities and skills. You can change the services under at [params.services.list] in the config.toml.

All icons using Fontawesome's icon font. Look at the website of Fontawesome for more icons. The icons are represented by their corresponding CSS class. A skill is defined like this example:

[[params.services.list]]
    icon = "fa-diamond"
    title = "Sturdy Templates"
    description = "Our templates are updated regularly so they don't break."

Create your portfolio

Beside the config file, there is in data another subfolder called projects which hosts the files that will appear as your projects in the portfolio section. Such a project file might look like this one written in YAML:

modalID: 1
title: Project 1
date: 2014-07-05
img: 1.jpg
client: Start Bootstrap
clientLink: "#"
category: Web Development
description: Lorem ipsum dolor sit amet, consectetur adipisicing elit. Vel enim aliquid dicta ullam in repellendus amet perspiciatis adipisci architecto obcaecati sit voluptas ipsam, deleniti neque placeat tenetur cum tempore velit.

Copy the folder projects inside the data folder in the root directory of your site. Let's make some changes to show your work.

Pay attention to the modalID. It must be a unique integer and be incremented with each new project you want to add to the portfolio. Otherwise, the corresponding modal can't be rendered.

Furthermore, you can use Markdown syntax for URLs like here [text](//url.to/source) in the description.

To give your projects an image, save those under static/img/portfolio. The dimensions should be 650 x 350 pixels. Don't forget to set the filename under 'img' in your project.

Nearly finished

In order to see your site in action, run Hugo's built-in local server.

$ hugo server

Now enter localhost:1313 in the address bar of your browser.

Contributing

Did you found a bug or got an idea for a new feature? Feel free to use the issue tracker to let me know. Or make directly a pull request.

Please create a separate branch for your pull request.

License

This theme is released under the Apache License 2.0 For more information read the license.

Acknowledgements

Thanks to

hugo-creative-theme's People

Contributors

anthonyfok avatar ascandella avatar beatchristen avatar bep avatar digitalcraftsman avatar ericwittmann avatar pgericson avatar robbyt avatar robsonsobral avatar tafkas 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

hugo-creative-theme's Issues

Markdown links not parsed params.about

I've set up the most basic of sites following the instructions in this theme's README.md, and I'd like to include some linked text in params.about description.

The comments in the example config.toml state that Markdown syntax can be used for most longer texts (and it does seem to work for other sections). Is there a reason why Markdown links aren't parsed in params.about?

How to use the "Get started!" Button to download my Curriculum

Hi,

I'm using this wonderful theme trough blogdown in R but I am facing several problems.
I would like to use the "Get started!" Button in the About section as a download button to my cv.pdf located in /public/img

Since I couldn't find any clear way to do it in the config.toml file
I have tried to change the index.html file replacing

<a href="#" class="btn btn-default btn-xl">Download CV</a>
with
<a href="img/AHMED_T_HAMMAD_Cv.pdf">Download CV</a>

but somehow when I try to render the file nothing changes.

Any idea?
cheers

Description in Services section can not handle Markdown links

Hello

I would like to use links in Services links. See the example below:

...
    # Services section
    [params.services]

        [[params.services.list]]
            icon = "fa-meetup"
            title = "Get social!"
            description = "Join our [meetup group](https://www.meetup.com/mymeetup/)."
...

This is example above is not working properly.

PetrR

toml improvment for example site

You might want to change the
"theme = "hugo-creative-theme"
to
theme = "hugo-creative-theme-master"

I didn't understand why my page would not load from following the example. A simple problem, but I can see first time users being confused as if you follow your installation exactly the example site does not appear.

Failed loading icons

My icons aren't loading anymore. I get this message in the development tools of chrome:
Font from origin 'https://mydomain' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://www.mydomain.com' is therefore not allowed access.

When I access my site with mydomain.com it is fine, but when I access my domain with www.mydomain.com then my icons aren't loading. Does someone have any clue what to do here?

Title URL is broken due to https issues

See: https://themes.gohugo.io/theme/creative/
Versus: http://themes.gohugo.io/theme/creative/

I'm not actually sure you're doing anything wrong, but the link on this GH project points to HTTPS which renders poorly:

image

Compared to the insecure version:

image

There's probably a bug upstream somewhere, but in the meantime you may wish to update your URL no http:// so that people don't land on a broken theme.

Also note that browsing to your theme from the homepage takes you here:

http://themes.gohugo.io/creative/ (inecure)

Even when you start from https://themes.gohugo.io/

Errors on site without expected parameters set

Hello!

$subj, when trying to run this theme against my blog source I get following (and blog won't render):

Building sites … ERROR 2018/03/20 11:47:49 Error while rendering "home" in "": template: theme/index.html:4:11: executing "theme/index.html" at <partial "head.html" ...>: error calling partial: template: theme/partials/head.html:10:58: executing "theme/partials/head.html" at <absURL>: wrong number of args for absURL: want 1 got 0
Change detected, rebuilding site
2018-03-20 12:52:33.616 +0000
Source changed "/srv/hugo/content/post/2018-03-19-lust-for-text-life.markdown": WRITE
ERROR 2018/03/20 12:52:34 Error while rendering "home" in "": template: theme/index.html:4:11: executing "theme/index.html" at <partial "head.html" ...>: error calling partial: template: theme/partials/head.html:10:58: executing "theme/partials/head.html" at <absURL>: wrong number of args for absURL: want 1 got 0
Total in 1133 ms

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

Missing favicon?

It seems like the other themes have a favicon specified -- is this not the case for Creative?

Add Logo In navbar-brand?

Hello!

First of all, this is a fantastic theme. I just had one question, which is more of a feature request:

Is there an easy way to add a logo option under the navigation parameters so you could use an actual logo that switches color and size with the page scroll? Given the hero background, you'd obviously need a lighter color version of the logo that alternates to a dark or colored version of the logo as the page scrolls.

I tried figuring it out by altering the navigation partial layout, but couldn't actually get it to work. Here's the Hugo support link I tried using as a guide to make the edits.

Thanks! This theme is incredible!

maps broken

submodule error on netlify

Trying to deploy on netlify I got this error: Error checking out submodules: fatal: No url found for submodule path 'themes/hugo-creative-theme' in .gitmodules. I installed the theme as the readme file instructs. Any help to solve this? Thanks

Parsing error when using Hugo 0.18.x

I was using Hugo 0.18.1 and it gave me a parsing error (Not localhost but live). I normally use only this theme but with this issue saying something along the lines of /theme/partial/head.html parsing error I could not continue with hugo so had to change it to another theme.

Awesome theme btw. Beautiful indeed.

Possible support for multilingual site

Hi,
I'm trying to figure out how to use this theme in order to create a multilingual site.
Actually, using the structure of your config.toml I could have different config files basing on language in order to translate label. For example, I could have config_it-IT.toml:

[params.hero]
        slogan     = "Il tuo bellissimo slogan"

and the default in config_en-GB.toml.
Do you think this could be a consistent way to operate?
Thank you!

How to add a privacy page in the footer?

How can I add a privacy page in the end of the site? Sorry I'm very new to hugo and still have to learn a lot... :) How can I link to a page in the content folder?

Theme Maintenance Question

@digitalcraftsman I am very fond of this theme and am using the version from @luca-ing for blogging. I recently upgraded the theme to Font Awesome 5.3.1 and fixed some issues with the blog feature on the @luca-ing version.

What I am wondering is, beyond managing my own version, what should I do with the updates?
Do you want to update your version to include blogging?
Should I just maintain the whole thing in my own repo?

It seems that the project is getting a bit fragmented.

Not being critical, just want to find a way to give back.
Anyway, thanks for an awesome starting point.

Richer content in the modal dialogs

The content for the modal dialogs is controlled by yaml files in data/projects. However, in the description field, I can't seem to figure out how to add anything other than text. Specifically, I want to be able to add audio/video content to the projects using the html5 audio/video tags. The description field in the yaml files doesn't seem to accept anything other than one line of text. How can I add audio/video to projects?

Adding sections to the theme..

Hi !

I would like to start by complimenting you on the look and features of this theme. Setting it up was very easy using the params in the config file! Thank you.

My question is most likely a noob question. I am new to Hugo.

I tried linking to another page where I would like to show upcoming events as a list generated automatically. I end up breaking the design by simply adding a link in the href"".

What is the best way to add pages / or anchors with sections to the main page without breaking it?

I appologize if this is not the right place to ask this.

Best
Castillo

Is this repo maintained?

The theme could be updated to conform bootstrap 4 (benefits) and also some other things I found were buggy. Will pull requests get merged?

Static site wasn't generated

I miss the feature which generate HTML (and related... js, css, img and fonts) in the static folder. Or I miss something in the docs?

function "safeHTML" not defined

Created a new site.
Added this theme.
Got the following error:

$ hugo server -w
ERROR: 2015/07/22 template: theme/partials/about.html:1: function "safeHTML" not defined
ERROR: 2015/07/22 template: theme/partials/aside.html:1: function "safeHTML" not defined
ERROR: 2015/07/22 template: theme/partials/contact.html:1: function "safeHTML" not defined
ERROR: 2015/07/22 template: theme/partials/head.html:8: function "safeHTML" not defined
ERROR: 2015/07/22 template: theme/partials/hero.html:1: function "safeHTML" not defined
ERROR: 2015/07/22 template: theme/partials/js.html:1: function "safeHTML" not defined
ERROR: 2015/07/22 template: theme/partials/modals.html:1: function "safeHTML" not defined
ERROR: 2015/07/22 template: theme/partials/nav.html:1: function "safeHTML" not defined
ERROR: 2015/07/22 template: theme/partials/services.html:1: function "safeHTML" not defined
ERROR: 2015/07/22 html/template: "theme/partials/head.html" is an incomplete template in theme/partials/head.html
ERROR: 2015/07/22 html/template: "theme/partials/nav.html" is an incomplete template in theme/partials/nav.html
ERROR: 2015/07/22 html/template: "theme/partials/hero.html" is an incomplete template in theme/partials/hero.html
ERROR: 2015/07/22 html/template: "theme/partials/about.html" is an incomplete template in theme/partials/about.html
ERROR: 2015/07/22 html/template: "theme/partials/services.html" is an incomplete template in theme/partials/services.html
ERROR: 2015/07/22 html/template: "theme/partials/aside.html" is an incomplete template in theme/partials/aside.html
ERROR: 2015/07/22 html/template: "theme/partials/contact.html" is an incomplete template in theme/partials/contact.html
ERROR: 2015/07/22 html/template: "theme/partials/modals.html" is an incomplete template in theme/partials/modals.html
ERROR: 2015/07/22 html/template: "theme/partials/js.html" is an incomplete template in theme/partials/js.html

Generating Content from an asciidoc file

I normally use asciidoc to generate pages in Hugo and I have added a post and rendered it but the folder where the content would normally go only contains an index.xml file. I can see the post in the RSS and in the index.xml file, but not the post itself. I tried with a MD doc and had the same behaviour.

I took the example site and built a site off it and it's working fine (nice work on the theme by the way) I just need to be able to add static pages off it for form redirects etc.

Let me know if you need additional information.

Allow Projects/Categories to use the standard Hugo content

I really like this theme. And its 1 page simplicity.
However, I wonder if it would be possible to allow a more detailed content page in markdown be developed that would be linked to from the model view? Same for categories - each project has one but it doesn't link anywhere?

Support video embeds in modal section in freelancer and/or creative hugo theme

I really like both your freelancer and creative themes for Hugo. Could you enable support to easily add a video embed (vimeo or youtube) from inside the project/portfolio section. Basically, click the photo that then gives you the modal section with description (client, date, category etc..,) but instead of showing the same photo, have an embedded video option. That would be great for a portfolio site. Could be as simple for the editor to then replace:
img: cabin.png with vid: vimeoURL or vimeo shortcode in data/projects/projectX.yaml

Thanks

Change default orange color

Hi,
is there a way to change the default orange color to something else? If not, could someone please add it as feature or tell me a workaround?

Amendment: blogging functionality for this theme

I really like this theme, and would like to use it for my site. However, I'd like to blog as well.

If I prepare a PR adding blogging functionality, would you be willing to accept it? If you prefer to leave the theme as it is that's fine, but I'd like to give back, if you want the contribution.

Reordering portofolio modals

Hello,

I would like to know who to reorder the portofolio photos modals...My website is www.bit-xpert.net
I already tried to modify the modalID ordering, the title , img file and description without success.
I want to oder let's say ... modal ID number 1 to be first image on first row, modalID 2, to be the second image on first row, modalID 3, to be the third image on first row, modalID 4, to be the first image on second row, modalID 5, to be the second image on second row, modalID 6, to be the third image on second row. Also how can I modify the images order easy ?

You can find the source code files here : https://github.com/rbh007/bit-xpert

Thanks

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.