Giter VIP home page Giter VIP logo

hugo-strata-theme's People

Contributors

adrianchifor avatar badele avatar bep avatar caspear avatar digitalcraftsman avatar dustinleblanc avatar fixje avatar flameeyes avatar gschaffner avatar jannecederberg avatar jtoll avatar zeridon 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

hugo-strata-theme's Issues

Not compiling index.html

I'm having trouble getting hugo to generate the main page, it seems to generate the posts but i'm just confused on what's going on.

I tried using the files from the example site and having hugo compile it but it did the same thing. What am I missing?

Here's my files:
https://github.com/dobbsbp/strata

favicon.ico

Is it possible to put into this theme a favicon reference ( in config.toml)?

Code Typo in README.md

In the menu section there is a small but powerful typo.

+++
menu = "main"
+++

The equal sign should be replaced to a colon:

+++
menu: "main"
+++

Oherwise:

ERROR 2018/02/02 19:01:09 failed to parse page metadata for "acerca.md": yaml: line 5: could not find expected ':'
Error: Error building site: Errors reading pages: Error: failed to parse page metadata for "acerca.md": yaml: line 5: could not find expected ':' for acerca.md

Fix for "contact-form" link

Hi there,

Ok this is the last question I'll raise today - promise. Maybe :-)

On the front page if you click the contact-form link it bounces you down to the form just fine. However, if you've clicked on one of the menu items on the left and then click the contact-form link, it's broken.

Looking here it seems like maybe an absolute path should be defined in one or more of these files - would that be the correct fix to make contact-form work no matter where the user is browsing?

Brian

Difficulty in deploying the site?

Hey there,

I used your theme to build a site I was happy with locally, and it looks exactly as intended on localhost. However, when I go to add it to a git repo and deploy on Netlify, it's not deploying correctly, instead copying all the content but not the styling.

I started a new Hugo site locally, cloned your theme into themes/hugo-strata-theme, deleted the git file from the theme folder, and after configuring how I intended and checking on localhost, initialized a new git repo in the home directory of the project. I then added all, made an initial commit, and linked to a repo. Github isn't pulling the blank directories of course, so the repo isn't the same as it looks locally.

What steps should I take to correctly deploy this on netlify or github pages?

How to put Title logo?

Greetings..!
I would like to insert title logo in my modified starta web template. Can anybody please help me?
Thank you!

swapping position of recentposts and portfolio

I am puzzled why I cannot seem to swap position of recent posts and portfolio i.e. display recent posts first.

The code is in index.html but swapping it there appears to have no effect whatsoever. As a matter of fact even deleting the code has no effect.

What is going on? a cache that I am not aware off?

"Hide" pages from blog entries

Hi there,

In my existing Ghost blog I have several entries like /about and /contact with static content. I'd like to keep these in tact when I migrate to Hugo and use your theme, but I'd also like to "hide" them from popping up in the rest of the blog entries when people click "Blog" on the left. Is there a way to designate these /about, /contact, /resume .md files in such a way that they're still available as static posts but NOT lumped in with other blog entries?

Thanks,
Brian

Multilingual support

I would like to propose implementing i18n support in this theme since Hugo has multilingual mode since a long time ago.

  1. The theme should provide default English (and possibly Spanish, since is my native language) translation for all strings
  2. Move all string translation from config.toml to its own i18n file, for example contact form field labels
  3. The theme should display, in the main menu, links to the translated content of the current page
  4. Make sure the theme is using absLangURL and relLangURL as per the Hugo documentation
  5. The example site should be adapted in order to enable multilingual mode

If you are OK with this, I could implement the feature.

Best regards
Pablo

Include tags in blog page?

Hi there,

Is it possible to include blog post tags in the page that displays all the entries, such as here:

tags

Thanks,
Brian

email should be hidden

What is the purpose of the nice form if the email address is shown completely unobfuscated to the right of the form ?

Adding a "recent blog entries" to front page?

Hi again,

I like how customizable the landing page is. I'm wondering if, below "recent projects" is there a way to have a header called "Recent blog posts" that would then list, say, the latest 3-5 entries that people would see if they clicked "Blog" from the left hand menu?

Thanks,
Brian

Favourite Icon

Hey,

Really liking the theme, it would be great to add an image for bookmark icons.

Thanks,
Shahnur

Recent blog posts

Hi, Im trying to work out how to fix an issue I have with Recent Blog Posts. Up until recently I have been using Hugo 0.55 and I only needed to change the theme slightly to make it work with my setup.

I altered line 10 of the file themes/hugo-strata-theme/layouts/partials/recent-posts.html

from
{{ range first 5 (where .Data.Pages "Section" "posts") }}

to
{{ range first 5 (where .Data.Pages "Section" "blog") }}

and it worked perfectly.

I recently upgraded to 0.66.2 and now this no longer works, also changing it back to "posts" doesnt work

This must be something to do with how I have my site setup, can someone show me where Im going wrong?

404 at https://themes.gohugo.io

your beautiful theme is absent in the list of themes !!
i found it again only because i remembered that memorable name: "strata".
Thnx!

Allow markdown in portfolio titles?

Hi there,

Sorry for all the questions but I love this theme :-)

In the title of [params.portfolio] entries, is there any way to have them recognize Markdown so I can tweak the formatting a little bit? Example:

markdown

Thanks,
Brian

pop-up images for portfolio images

Hi
When the image of the portfolio pops up there is an arrow on the right to move to the next image. As it is not there the page gets stuck waiting. Can you hide or disable the arrow?
Regards, Alfred

Blank space below background image

When a user scrolls up, the background image moves up as well. But the space below it is blank and gray. Is it possible to make the background take up this entire space, being scaled so that the user will never see this gray space? Thanks!

GitLab icon

Alongside the ability to display a GitHub icon, support for a GitLab icon would be useful as well.

Allow blog posts

Greetings,

Excellent port / theme.

It would be excellent if it allowed posts, out of the box :)

Cheers

Multi language support

Hi, I am having trouble getting multi language support working with this lovely looking strata theme. Are you aware of any limitations to support multi language?

404 Page not being redirected to

Hi, not quite sure whats happening, but the 404 page never seems to load. I just get the generic "404 page not found".

Also I would like to add an index2.html page that is linked to a menu on the main page. I can't seem to work out how to make that work. Does everything other than index.html need to be within the content folder?

hugo in linux x64 not picking up theme?

Version: 0.24.1 (tested 0.23 and 0.20, all behaving the same) - didn't test x32
Theme: slate (although I suspect this has nothing to do with the theme being used)

on OSX: โœ…

$ grep theme config.toml 
theme = "slate"
$ ~/Downloads/hugo_0.24.1_macOS-64bit/hugo 
Started building sites ...
Built site for language en:
0 draft content
0 future content
0 expired content
0 regular pages created
6 other pages created
0 non-page files copied
0 paginator pages created
0 tags created
0 categories created
total in 10 ms
$ ls -la public/index.html 
-rw-r--r--  1 splash  staff  5180 Jun 30 11:14 public/index.html

freshly cloning the very same repo and running it on Linux x64 fails: โŒ

$ grep theme config.toml 
theme = "slate"
$ ./hugo --verbose
INFO 2017/06/30 11:29:45 Using config file: 
WARN 2017/06/30 11:29:45 Unable to find static directory for theme slate in /home/<redacted>/themes/slate/static
INFO 2017/06/30 11:29:45 /home/<redacted>/static/ is the only static directory available to sync from
INFO 2017/06/30 11:29:45 syncing static files to /home/<redacted>/public/
WARN 2017/06/30 11:29:45 No translation bundle found for default language "en"
WARN 2017/06/30 11:29:45 Translation func for language en not found, use default.
WARN 2017/06/30 11:29:45 i18n not initialized, check that you have language file (in i18n) that matches the site language or the default language.
Started building sites ...
WARN 2017/06/30 11:29:45 [en] Unable to locate layout for "taxonomyTerm": [taxonomy/.terms.html.html taxonomy/.terms.html _default/terms.html.html _default/terms.html indexes/indexes.html.html indexes/indexes.html theme/taxonomy/.terms.html.html theme/taxonomy/.terms.html theme/_default/terms.html.html theme/_default/terms.html theme/indexes/indexes.html.html theme/indexes/indexes.html]
WARN 2017/06/30 11:29:45 [en] Unable to locate layout for "home": [index.html.html index.html _default/list.html.html _default/list.html theme/index.html.html theme/index.html theme/_default/list.html.html theme/_default/list.html]
WARN 2017/06/30 11:29:45 [en] Unable to locate layout for "404": [404.html theme/404.html]
Built site for language en:
0 draft content
0 future content
0 expired content
0 regular pages created
6 other pages created
0 non-page files copied
0 paginator pages created
0 tags created
0 categories created
total in 4 ms
$ ls -la public/index.html
ls: cannot access 'public/index.html': No such file or directory
$ 

Passing -t <theme> and/or --themesDir ./themes/ results the same

NOTe: this does work in OSX ๐Ÿค”

Fonts without Google Font

Hi, this theme is one of the best for blogs in Hugo, thank you very much therefore.

Unfortunately, for privacy reasons it is not acceptable for me to use Google Fonts. Is there any chance of deactivating Google Font optionally and providing a font via normal static files?

The same question applies for JS-files, I would like to host them myself.

Thank you very much in advance.

Older posts broken link

I've been using this theme for a while and only now realised the "Older" button on the Blog page has an incorrect link in my implementation.

A live version you can see; https://sionwilliams.com/post/

If you scroll to the bottom and click older, you will see the issue.

Strata theme installation doesn't work anymore

Folowing the README instruction I got this :

lsoave@basenode:~/Test/hugo-strata-site$ hugo server
Started building sites ...
ERROR: 2016/10/11 21:30:36 template.go:477: template: /home/lsoave/Test/hugo-strata-site/themes/hugo-strata-theme/layouts/_default/baseof.html:7: function "block" not defined
ERROR: 2016/10/11 21:30:36 general.go:212: Error while rendering homepage: template: "/home/lsoave/Test/hugo-strata-site/themes/hugo-strata-theme/layouts/_default/baseof.html" is an incomplete or empty template; defined templates are: "_internal/shortcodes/relref.html", "_internal/shortcodes/figure.html", "_internal/shortcodes/ref.html", "_internal/opengraph.html", "_internal/shortcodes/test.html", "_internal/shortcodes/speakerdeck.html", "_internal/google_analytics.html", "_internal/pagination.html", "/home/lsoave/Test/hugo-strata-site/themes/hugo-strata-theme/layouts/_default/baseof.html", "theme/_default/summary.html", "_internal/shortcodes/gist.html", "_internal/_default/sitemapindex.xml", "_internal/schema.html", "_internal/shortcodes/tweet.html", "_internal/_default/rss.xml", "_internal/_default/sitemap.xml", "_internal/disqus.html", "_internal/shortcodes/highlight.html", "main", "_internal/_default/robots.txt", "_internal/shortcodes/vimeo.html", "_internal/twitter_cards.html", "_internal/shortcodes/youtube.html", "_internal/google_news.html", "_internal/google_analytics_async.html"

My Hugo version is :

lsoave@basenode:~/Test/hugo-strata-site$ hugo version
Hugo Static Site Generator v0.18-DEV BuildDate: 2016-10-11T21:20:45+02:00

Menu not working (overlapping)

Since installing, the menu has been showing like this, while on a desktop (compact version works):
whatt
Also, I tried to set the order using weight, but the order keeps messing up, any ideas?

Errors on site without expected parameters set

Hello!

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

Building sites โ€ฆ ERROR 2018/03/20 18:40:26 Error while rendering "page" in "": template: /srv/hugo/themes/strata/layouts/_default/single.html:5:5: executing "main" at <partial "post-meta" ...>: error calling partial: template: theme/partials/post-meta.html:2:50: executing "theme/partials/post-meta.html" at <.Site.Params.date_fo...>: invalid value; expected string
ERROR 2018/03/20 18:40:26 Error while rendering "page" in "post/": template: /srv/hugo/themes/strata/layouts/_default/single.html:5:5: executing "main" at <partial "post-meta" ...>: error calling partial: template: theme/partials/post-meta.html:2:50: executing "theme/partials/post-meta.html" at <.Site.Params.date_fo...>: invalid value; expected string
ERROR 2018/03/20 18:40:26 in .Render: Failed to execute template "theme/_default/summary.html": template: theme/_default/summary.html:6:7: executing "theme/_default/summary.html" at <partial "post-meta" ...>: error calling partial: template: theme/partials/post-meta.html:2:50: executing "theme/partials/post-meta.html" at <.Site.Params.date_fo...>: invalid value; expected string
WARNING: calling IsSet with unsupported type "invalid" (<nil>) will always return false.

ERROR 2018/03/20 18:40:26 Error while rendering "home" in "": template: /srv/hugo/themes/strata/layouts/index.html:15:5: executing "main" at <partial "contact" .>: error calling partial: template: theme/partials/contact.html:8:56: executing "theme/partials/contact.html" at <len .Site.Params.con...>: error calling len: len of untyped nil

The reason is likely some absent .Site. parameter but you can't tell it from error message, I guess input parameters handling could be improved. cboettig/hugo-now-ui#9 might be used as reference point.

By the way, Site.Params.dateformat is used everywhere instead of Site.Params.date_format

Bug with portfolio display

If the descriptions for two [[params.portfolio.gallery]] objects are not the same length (in lines, when displayed), they will render improperly.

Properly displayed in full screen:
image

Breaking with certain window sizes: (Note the first image description is rendered as 3 lines, while the adjacent one is only 2 lines.)
image

params.something

Great work on this theme.
Is there a way to add arbitrary sections like the "about" and the "gallery"? would I have to defined that in the partials folder?

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.