Coder Social home page Coder Social logo

mediumish-gohugo-theme's People

Contributors

coliff avatar icf20 avatar jakebjorke avatar lgaida avatar plbonneville avatar rbromley10 avatar ronaldbosma avatar salimkayabasi avatar tjnorred 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

mediumish-gohugo-theme's Issues

Cookie warning banner

Hi @lgaida,

Are you interested in a cookie warning banner option for the theme?

I'm working on one myself. I had to copy some files from the mediumish theme and edit them to make it work though. This makes it harder for me to keep up to date with the original theme if any of these files change.

The banner I'm adding just has some static text and an OK button. I could add it to the theme and make it a little more generic with a configuration section like this.

[params.cookiewarning]
  enable = true
  alertMessage = "We use cookies..."
  okButtonText = "OK"

Making blogs the home page

Sorry for such a basic q but messed with this a load and just can't seem to get it to work. How do I make the /blog section where the blog thumb nails appear the homepage ?

Page's .Prev is deprecated

Building sites … WARNING: Page's .Prev is deprecated and will be removed in a future release. Use .NextPage (yes, not .PrevPage).
WARNING: Page's .Next is deprecated and will be removed in a future release. Use .PrevPage (yes, not .NextPage).

Make "All Posts" section usable by a "category" or other taxonomy

Hi there!
Great theme, loving it!
One quick question: is it possible to make use of the "All Posts" section title? Right now, it seems to be static and unchangeable (correct me if I'm wrong). I was wondering if it could act as tabs and have other post categories listed right next to "All Posts" and be clickable.
I'm not sure what is the use of "All Posts" section title if it is always static...
Thanks for looking into this!

home page at wrong URL, many sections missing

Greetings,

I am trying this theme with hugo v0.50, because it looks great, but I am having major problems. My "content" folder has this structure:

about.md
bio.md
<other pages>
post/  <==== this is the folder where all the blog posts are (renaming it to archives, blog, or anything else does not change what reported below)

the problem is that, with this theme only_

  • the home page, listing of all posts from newest to oldest, is /post/index.html, instead of being /index.html . That page is blank (only site name, menu and footer).
  • categories and tags of a post are not listed below it
  • it is not clear where/how to insert and format a sidebar
  • no search bar appears

The relevant part of the config.toml file is below. Changing publishDir to any value (post, /, whatever) seems to make no difference). Thanks in advance for your help

theme = "mediumish-gohugo-theme"

summaryLength = 25
sidebar       =  "true"
search        = "true"
publishDir    = "/"
Paginate=10
paginate=10
[permalinks]
   archives = "/:year/:month/:title/"
   post = "/:year/:month/:title/"
   
[taxonomies]
    category = "category"
    tag = "tag"

[Indexes]
    tag      = "tag"
    category = "category"

Share icons aren't displayed properly in Chrome

In the latest commit on share.html the css classes 'sticky-top' and 'sticky-top-offset' have been added to the share div in which the share icons are displayed. This causes the share icons to move up as you can see in this image.
share with sticky-top class

When I remove the 'sticky-top' css class it works properly in Chrome as you can see here.
share without sticky-top class

I can remove the 'sticky-top' css class and create a pull request but before I do I'm wondering if there is a reason the classes were added in the first place.

How to use custom CSS and JS

Hi,

I saw a commit that added customCSS, but could not find docs on how to use it. Is that an experimental feature?

Thanks

How to set the home page to be the blog directly?

Hello,

I love your work on this theme! This has been my favorite so far :)

I do have one question: how do I set the landing page directly to be blog page (e.g., the screenshot in your README.md)? In my use case, I don't actually need a landing page so I would prefer to go directly to the blog.

I know I can simply delete layouts/index.html, but that would remove index in total, so I wonder if there is a more elegant way of doing that.

Thank you!

sticky footer

hi, I have been trying to create a stick footer but every way I try seems to fail. Can you provide some guidance please?

RSS feed posts shows as summary

Hi,

First, thanks for the great work! I'm using your theme and the site looks amazing.

I do have a question: My RSS feed shows up the same way posts show on the blog posts list page (see here: https://iyarlin.github.io/categories/r/). Is there any way to make these appear as full content rather than summary? I found a way to make the blog post list show full content but that's not what I'm after..

Many thanks,

Iyar

Drafts appear in the footer pager in article view

Hello, first => thanks for that very cool theme.

I remark something strange. In the "post list" view, drafts are not displayed (it's ok), but when I open an article, the bottom pager displays "next article" on a draft one. I'm not familiar on Hugo enough to make a patch, I will try.

Social icons do not display in Safari

In macOS (High Sierra) Safari14.0, social icons are missing both in the About Me page and in blog posts. They works as it should be in Chrome but do not display in Safari. I thought the problem may be the aria-hidden: true tag, but it was not. I couldn't figure out yet why.

404 errors while accessing /blog

Once installing your theme and adding a new post, the file is created under blog/my-first-post/index.md.
Yet, when I try to access /blog, I get 404 errors.

After checking at your exampleSite folder, I realized the blog folder is within a content folder. If I manually create this folder and move my blog folder within this content folder, I can access blog section.

Maybe I am missing something (new to Hugo) ? Also could you point me out where the location is specified (looking at content/blog vs. looking at blog) ?

Post image not showing

Hi,

I tried to get the blog post image above the blog overview page. I saw that the example website had this problem as well, but it shows in the screenshot . How can i get this to work?

Animated back to top button with CSS

The idea is to show a back to top button only after scrolling with CSS.

This article shows some methods that only use CSS, no JS.

I especially like this method with a fading button.

What do you guys think?

Images on BlogPost

Hi, I want to know how can I put images/gifs on top of my blogposts link. Currently, they only allow me to give textual information. Instead, I want to put images for the customers to see and click on them.

Error on publishing post using blogdown addin

Hi i am getting below error while creating new post using Rstudio blogdown addin.

Warning: Error in yaml::yaml.load: Scanner error: while scanning a simple key at line 5, column 1 could not find expected ':' at line 6, column 1

  90: yaml::yaml.load
  89: yaml_load
  88: split_yaml_body
  87: <Anonymous>
  85: blogdown::new_post
  84: observeEventHandler
  13: shiny::runApp
  12: shiny::runGadget
  11: eval
  10: eval
   4: eval
   3: eval
   2: sys.source
   1: blogdown:::new_post_addin

Also let me know how to deploy this theme as github pages.

Can't access image in page bundle

Hi,

I know you recommend to put images in the static folder, but I would like to keep my images in each post's page bundle. However, I can't access any image in a page bundle (whether displaying normally in markdown or using .Resources.GetMatch). Even when I copy image-displaying code from my other themes, it doesn't work. Do you know what the issue might be?

Mediumish does not support cascaded menus

Hugo supports cascaded menus by defining a "parent" property. Unfortunately this is not supported by the Mediumish theme. It is simply ignored. It was quite a frustrating experience when I tried to define a menu with parent and it did not work. You have no clue if there is something wrong in the menu definition or why it does not work. It took me quite a while until I found out that it is the template which prevented it from working (and there seem to be many other templates with this restriction). Unfortunately the documentation of menus is poor in the Hugo docs which does not make thing easier.

I tried to make it working and submit this as PR #30

My use case is a quick navigation if you have many blog entries. I added an example to the example site:

CascadedMenu

Cookie Law banner

Living in EU, I need to add the cookie law banner which is (eventually) enable (or not) Google Analytics .
Do you have any tips to include it ?
Thank you

Use "images" as per twitter card

The Hugo implementation of TwitterCards selects an image from the images list (by matching "featured" in the name.)

I have a patch in my fork of this lovely theme which copies the above behaviour into both the main article and the list-view postbox partials.
With a file such as featured_sunset.jpg and some page config (e.g. my json example) this works well.

{
  ...
  "images": ["featured_sunset.jpg", "other_image.png"]
}
  • You can use page-relative bundle images FTW
  • I've added another condition into the article to suppress the featured image from the article if the page param "noFeaturedImage": true is in the front matter.

You are welcome to the patch if you want it.

robshep@4a11625

Rob

posts are listed/paginated in the wrong place

I must move to a new server a static website currently generated with a ~3/4 years old version of hugo and of this theme. With those versions, the home page lists the first six POSTS, not pages (that is, not the markdown files inside the "content" folder, ONLY those in the content/post" subfolder, which is what I want), and then paginates all the other posts, 6 per page.

On the new server, using the current versium of mediumish with hugo v0.92.2+extended linux/amd64, the posts are not shown in the home page anymore. They are listed, 6 per page, in a subfolder "/post".

You can reproduce this behavior with the "dummy sample site" in this tar archive (~3 MB)

Why this behavior change, and what should change, in the theme or elsewhere, to make the home page show and paginate the posts as before?
Thx!

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.