lgaida / mediumish-gohugo-theme Goto Github PK
View Code? Open in Web Editor NEWA mediumish gohugo theme, ported from jekyll
License: MIT License
A mediumish gohugo theme, ported from jekyll
License: MIT License
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"
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 ?
Can we allow users to specify the summary length to display in the blog list view?
I want to use an efficient image for the jumbotron but it seems to only use the top part of the image, even when the image is 350 high it uses a % of the image.
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).
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!
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 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"
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.
When I remove the 'sticky-top' css class it works properly in Chrome as you can see here.
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.
Is that possible to specify a page other than 'Aboutme' as the default homepage?
Hi,
I saw a commit that added customCSS
, but could not find docs on how to use it. Is that an experimental feature?
Thanks
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!
Lighthouse audit reports two known vulnerabilities:
Suggested fix:
hi, I have been trying to create a stick footer but every way I try seems to fail. Can you provide some guidance please?
The footer.html
template includes a <a target="_blank" ...>
link.
Such links need to include rel="noopener"
or rel="noreferrer"
. I would suggest noopener
which just addresses the security issue without removing the referer info for the original theme author.
Source: https://developers.google.com/web/tools/lighthouse/audits/noopener
Do you want a PR for that ?
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
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.
Hi,
I want the page with the blogs to show up first when users hit the page. So “/blogs” as the home page instead of the current one. How do I configure this in this theme?
Regards,
Karsten Silz
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.
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
) ?
Based on the sample blog post entries, I thought I would be able to link images to blog posts. Even though the files are present and the images are configured in the posts, no image links are in the output even. Should they work?
(Referring to 1.jpg through 8.jpg in the sample posts.)
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?
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.
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.
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?
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:
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
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"]
}
"noFeaturedImage": true
is in the front matter.You are welcome to the patch if you want it.
Rob
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!
Is there a way to disable the popup entirely? (as I personally find them annoying in general...)
Need to add a way to use multiple authors for blog post
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.