Git Product home page Git Product logo

hyde-y's People

Contributors

avi-d-coder avatar bep avatar blakelivingston avatar dch avatar enten avatar harkx avatar jadunham1 avatar jeffman78 avatar jonas-koeritz avatar krishicks avatar ksubedi avatar melo avatar mhariri avatar mthmulders avatar mwpher avatar nyebo avatar rdtr avatar rgl avatar shantanugoel avatar tommorris avatar tryp avatar tuukkao avatar zyro 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hyde-y's Issues

RSS links is broken

When I set .Site.Params.rss to true, the RSS link on the front page points to "/.xml", while other RSS links on the single post page point to the normal URL of that post, which are not correct neither. How can I fix that?

How to use new version of fontawesome

Hi.

I'd like to use new icon: https://fontawesome.com/icons/telegram?style=brands

It's absent from fontawesome version used by the theme.

I do the following.

  1. Set up some fontawesome social icons to play around. All works good.

  2. Add in head-extra.html the line:

<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">

  1. Delete in imports.html the line:

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

  1. Play with facebook.html
{{ with .Site.Params.facebook }}
<a id="contact-link-facebook" class="contact_link" href="https://www.facebook.com/{{ . }}">
  <span class="fa fa-facebook-square"></span><span>facebook</span></a>
{{ end }}

change class to "fab facebook-square", "fab fa-telegram" and etc but icons don't appear. Not new facebook icon, not desired telegram icon.

At the same time this local html file gives me desired effect:


<html>
<head>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
</head>
<body>
<i class="fab fa-facebook-square"></i>
<a id="contact-link-facebook" class="contact_link" href="https://www.facebook.com/dima.alexeev">
    <span class="fab fa-telegram"></span></a>
</body>
</html>

What may be the problem?

Default ListPage View?

Hey there,

If I take the template and add a new item to Menu.toml:

[portfolio]
	Name = "portfolio"
	Title = "Projects I've done"
	URL = "/portfolio"

Then make a new test page using hugo new portfolio/first_project.md. This is currently saved as a draft. To see if things are working, I run the local server and check if /portfolio/ loads. It doesn't, and 404's. If I change my first post from draft to finished, everything works as expected.

Is this intended? I assumed the correct behavior would be to just present an empty ListPage with no entries (I believe Taxonomies do this currently).

RSS question.

Hey I had a quick couple of questions about RSS settings.

  1. When you say "will only show up if there is a RSS feed associated with the current page" what exactly does that mean?
  2. When I navigate to the main page the RSS icon shows up, but when I navigate to individual posts the RSS icon disappears. Is this the correct behavior?
  3. The RSS feed picks up other pages (such as the about page) in addition to picking up posts. Is it supposed to do this, and is there any way to restrict it to only picking up certain kinds of posts?

Thank you in advance!

Add Twitch as a social network

I am going to use this theme on a site that links to my Twitch profile. I will create a pull request for the change, as I have already made it locally and it was fairly simple to add.

Fixed landing page?

Hi, thanks for sharing the great effort.

Can I show a fixed landing page instead of showing paginations?

Thank you.

Use Pygments/Chroma instead of highlight.js

It seems like highlight.js is no longer maintained, and I'm finding it is not highlighting my styles effectively. I also can't figure out how to get line numbers and highlighting in place, though that may be on me. ;-)

Is there a way to disable highlight.js and revert to normal hugo/pygments for syntax highlighting?

cannot run local server

Somehow, running hugo server -D with this template returns te following...

Building sites … ERROR 2018/09/17 21:17:18 Error while rendering "section" in "": template: _default/section.html:6:29: executing "_default/section.html" at <.Paginator.Pages>: undefined variable: $index

change bar color

I'm a R / Python programmer and I have difficult to understand some codes in .js or .css...

I'm trying to change the bar color (#2053AB) in my hyde-y website and I can't do it... I've tried to follow the steps from the 'README.md´ and nothing happens...

How can I change it?

Any help is appreciated.

international date names

I am not a developer, much less a web developer and I've spent the better part of today trying to figure out how to get dates in my own language using the Hyde-y theme in Hugo.

I looked at the "Customize Dates" section of http://gohugo.io/tutorials/create-a-multilingual-site/ but it doesn't seem Hyde-y does anything like this when it comes to dates.

I've tried silly things like adding {{ index $.Site.Data.ownmonths (printf "%d" .Date.Month) }} instead of the month name to data/Formats.yaml with the only result being the code itself posted on the generated site.

I've even tried editing the names of months in /themes/hyde-y/node_modules/grunt/node_modules/dateformat/lib/dateformat.js with no apparent effect.

I'm at a loss of what to try next, I don't understand how the theme generates the dates or where they come from, I was so happy to find dateformat.js, thinking this was going to be the end of my adventure it but in the end I got nothing.

Any ideas?

Responsive static home page

Could someone post an example of a responsive custom home page (i.e. /<mysite>/layouts/partials/homepage.html)? I don't want to show a list of posts by default, but rather my custom content. I took a look at the KNACSS page for some guidance on their grids, but none of the examples seem to work. Any guidance is helpful. Thanks!

Include images in post

First of all, thanks for a nice and clean Hugo theme! I'm currently migrating from Jekyll to Hugo and this theme matches my appetite.

In my blog are a few blog posts that include images. I was thinking I should use Page Resources to include them, but I can't get it to work.

I've tried two approaches:

  1. Move post to it's own folder, like so:

     .
     └── content
         └── post
             └── bla-bla
                 ├── _index.md
                 └── picture.png
    

But when I do that, the page is empty (both in list view and in item view). (turned out to be a caching issue 😞 )

  1. Put images next to blog, like so:

     .
     └── content
         └── post
             ├── bla-bla.md
             └── picture.png
    

In both cases, {{ .Page.Resources }} is empty. As a result, I can't refer to the picture.png resource.

How can I include an image? I'd rather not mix my Markdown files with <img src="....">.

HTML error

I get this error when building the website on windows:

.github.io\awesome-site\themes\hyde-y\layouts\section\code.html:6:1": parse failed: template: section/code.html:6: range can only initialize variables

CSS broken with non-root sites

Running a Hugo site in a non-root directory (e.g. ~user/blog) results in a broken CSS with the hyde-y theme. Specifically, the following stylesheet URLs reference the root directory rather than the baseurl setting:

<link rel="stylesheet" href="http://localhost:1313/css/font-awesome.min.css">
<link rel="stylesheet" href="http://localhost:1313/css/style.css">
<link rel="stylesheet" href="http://localhost:1313/css/highlight/default.css">

Those should be referencing the non-root baseurl value. Note that canonifyurls was set to true when testing this.

Pagination does not appear to be working.

First off, thank you for creating this theme!

I am having a problem with Pagination.
I now have 11 posts on my site: https://github.com/jsilve24/stats_at_home (http://statsathome.com) and I was introduced to the pagination feature which defaults to 10. This is great however clicking on the link to the second page leads to an invalid URL (http://page/2/). I am not sure how to fix this but help would be greatly appreciated!

I am not sure if there is other information I should be providing, it seems like it should be a simple fix...

Thank you,
Justin

Modify sidebar beyond config.toml

If I wanted to modify the sidebar to include a logo image and and tweak the container title div to be h2-like - which theme file(s) would I change so that the html files generated by Hugo all reflect this? Don't want to have to modify each of the index.html files.

  <main id="main-wrapper" class="container main_wrapper has-sidebar">
    <header id="main-header" class="container main_header">
  <div class="container brand">
  <div class="container title h1-like">
  <a class="baselink" href="http://localhost:1313/">
  Andrew Goss
</a>
</div>
<div class="container topline">
  Data Engineer and Business Intelligence Developer
</div>
</div>
  <nav class="container nav primary no-print">
<a class="homelink" href="http://localhost:1313/">Home</a>
<a href="http://localhost:1313/about">About</a>
<a href="http://localhost:1313/post" title="Show list of posts">Posts</a>
<a href="http://localhost:1313/tags" title="Show list of tags">Tags</a>
<a href="http://localhost:1313/learning">Learning</a>
</nav>
<div class="container nav secondary no-print">
<a id="contact-link-email" class="contact_link" href="mailto:[email protected]">
  <span class="fa fa-envelope-square fa-2x"></span><span>email</span></a>
<a id="contact-link-github" class="contact_link" href="https://github.com/andrewrgoss">
  <span class="fa fa-github-square fa-2x"></span><span>github</span></a>
<a id="contact-link-linkedin" class="contact_link" href="https://www.linkedin.com/in/andrewrgoss">
  <span class="fa fa-linkedin-square fa-2x"></span><span>linkedin</span></a>
<a id="contact-link-twitter" class="contact_link" href="https://twitter.com/andrewrgoss">
  <span class="fa fa-twitter-square fa-2x"></span><span>twitter</span></a>
</div>
</header>

breaking https on icons?

Hello,
I ran into the issue of the favicon.ico & touch icon both being served over http instead of https on netlify. I get a 301 permanent redirect response and it defaults to https but his request over http is enough for me to get a mixed-content policy warning on chrome. Can I force the generated html output https links?

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.