calintat / minimal Goto Github PK
View Code? Open in Web Editor NEWPersonal blog theme powered by Hugo
Home Page: https://themes.gohugo.io/minimal/
License: MIT License
Personal blog theme powered by Hugo
Home Page: https://themes.gohugo.io/minimal/
License: MIT License
It would be really cool if there could be project support for online code hosting services other than Github. Here is my suggestion:
bitbucketUsername
and gitlabUsername
to the main config.repoGithub
repoBitbucket
, repoGitlab
.repo
remain unchanged, (points to Github) to support existing code.I am willing to create a PR if this seems reasonable.
Use the GitHub API to automatically retrieve projects.
This theme doesn't support images and I like it.
It would be nice for some posts to add an Image to the header of the file, which then gives a preview of the posts content, e.g. when viewed in an RSS-Reader. Would it be straightforward to build images like these into the theme (myself) and what would be the general way of doing this?
The theme is awesome! Perfect for me.
Can you add an About Me section where developer can update details about him/her.
I can add one similar to post or project but that about me becomes a blog content which is not suitable for about me section.
Regards,
Vasim Shaikh
How can I change the title of the Posts and Projects pages?
I changed the titles of the [[menu.main]] items in config.toml to something different. The new names show up in the main menu bar but not in the pages, which still have the original titles Posts and Projects.
How to add images to posts, projects etc? Is there any predefined tag for this?
Edit: If you're reading this, you'll have to edit the theme in themes/minimal/layouts/index.html
Opening baseURL/post/
URL presents a list of posts including their tags
. Unfortunately, these tags
come with incorrect URLs. The same issue occurs when opening categories
and the posts themselves.
The solution is pretty simple (using the . | urlize
construction):
$ diff -u layouts/partials/list-item-original.html layouts/partials/list-item.html
--- layouts/partials/list-item-original.html 2018-01-11 13:17:06.000000000 +1100
+++ layouts/partials/list-item.html 2018-01-11 13:17:37.942674707 +1100
@@ -19,7 +19,7 @@
<h4><a href="{{ .Scratch.Get "link" }}">{{ .Title }}</a></h4>
<h5>{{ $.Scratch.Get "subtitle" }}</h5>
{{ range .Params.tags }}
- <a href="{{ $.Site.BaseURL }}tags/{{ . }}"><kbd class="item-tag">{{ . }}</kbd></a>
+ <a href="{{ $.Site.BaseURL }}tags/{{ . | urlize }}"><kbd class="item-tag">{{ . }}</kbd></a>
{{ end }}
</div>
Thanks and regards!
Currently the description field is way too small and users need to zoom in to really make sense of the text.
Would it be possible to increase the font size for it? Here is my web page for reference. Perhaps my description is too long but it really is a pretty bad experience on mobile currently in my opinion.
Thanks for a cool theme.
I am a Hugo newbie, so forgive me if this is a dumb question.
Before the css would work for me I had to copy the file themes/minimal/static/css/main.css
to static/css/main.css
. Is this a required step, or is something else wrong?
Calin,
For the landing page, could we optionally add code that would give us something like:
Title
Subtitle
(Posts in the past 7 days: x)
x can be a link to take us to posts or projects. The intent of this is to allow new visitors to quickly see if there's something new published recently...
Rahul
Hello,
This isn't an issue with your repo per say. I had a working website for the past many months (forked your code.. and modified it considerably for my own purposes).
But today, it looks really wierd on all my browsers:
http://rsangole.netlify.com
Did netlify break? Why has this happened suddenly?
Rahul
I notice that post headers are <h4>
(example) which makes me think all headers in a post should be <h5>
, but AFAIK it doesn't have any style at all. Thoughts?
I'll send a PR for this, basically if disqus url configured, render the inbuilt disqus template provided by hugo!
Currently, I created a simple about me page which uses single.html layout.
However I don't quite get where do I specify styles for it. Currently, the hyperlinks cannot be seen at all.
Hello everyone,
how i change the text size of fonts
and on the content i like to aling the text to left
like
text-align: left;
were i add these?
For example I have this route set up
[[menu.main]]
url = "/about"
name = "About"
weight = 2
But how do I actually specify what is going to be shown in /about. Tried looking at Hugo docs and still a bit confused.
Thank you for any help.
I just recently came across this theme and have been converting my blog over from another hugo theme. After forking the theme (to add MathJax support), I added it as a submodule and noticed that deployment via netlify seems to cause an odd formatting issue -- it seems that the theme partially renders but all content appears shifted to the upper left, with line formatting/wrapping being ignored.
The build looks fine when rendered locally via hugo server
:
...but it doesn't look quite right upon deployment:
I looked at a few possibly related issues and thought this might be due to a new hugo version but setting the env var HUGO_VERSION
to 0.31.1 (the latest on my system) didn't seem to resolve the issue. Any help would be much appreciated.
I've been getting this error when I try to publish to GitHub-Pages
Your site is having problems building: The tag image on line 129 in
themes/minimal/exampleSite/content/post/migrate-from-jekyll.md is not a recognized Liquid tag. For
more information, see https://help.github.com/articles/page-build-failed-unknown-tag-error/.
This is lines 111-131 on page themes/minimal/exampleSite/content/post/migrate-from-jekyll.md
is written as this Hugo shortcode:
<!-- image -->
<figure {{ with .Get "class" }}class="{{.}}"{{ end }}>
{{ with .Get "link"}}<a href="{{.}}">{{ end }}
<img src="{{ .Get "src" }}" {{ if or (.Get "alt") (.Get "caption") }}alt="{{ with .Get "alt"}}{{.}}{{else}}{{ .Get "caption" }}{{ end }}"{{ end }} />
{{ if .Get "link"}}</a>{{ end }}
{{ if or (or (.Get "title") (.Get "caption")) (.Get "attr")}}
<figcaption>{{ if isset .Params "title" }}
{{ .Get "title" }}{{ end }}
{{ if or (.Get "caption") (.Get "attr")}}<p>
{{ .Get "caption" }}
{{ with .Get "attrlink"}}<a href="{{.}}"> {{ end }}
{{ .Get "attr" }}
{{ if .Get "attrlink"}}</a> {{ end }}
</p> {{ end }}
</figcaption>
{{ end }}
</figure>
<!-- image -->
The result is my master being updated on GitHub but my page (sblack4.github.io) does not.
I suspect this is some kind of bug with gh-pages. I'm going to try and fix this in my fork (https://github.com/sblack4/minimal) and can push the changes back if anyone else has this problem!
๐
๐
You can see it in the live demo by viewing source on https://themes.gohugo.io/theme/minimal/
The Google Analytics snippet is rendered, even though it is not valid.
hey i am unable to deploy on netlify. i am getting
failed during stage 'building site': Build script returned non-zero exit code: 127
edit
I Have tried a different build command and I have managed to deploy the page, however it seems that my site does not seem to align.
https://suspicious-wilson-142037.netlify.com/
I like linking directly to github. Some project may have a website, that is rather linked to than to a repo. Of course I can make a subsite by deleting the repo:
-tag and include a link on that subsite.
But how would I go about if I wanted to redirect directly to another website?
I plan to use your theme from R vie blogdown
(https://github.com/rstudio/blogdown). Most works very well, only the syntax-highlighting seems broken.
Apparently some part of the bootstrap-theme is overwriting some additional and hard to track-style file (code.less
or so). Solutions may involve downloading a recompiled bootstrap again plus some search and replace:
Would be curious, if you could provide some guidance, that may be specific to this theme. Maybe the approach differs if bootstrap is loaded via https://maxcdn.bootstrapcdn.com/
?
It would be nice that if when disqus is configured, each page does not load disqus by default, but it should be loaded only when the visitor presses ("load comments").
This could be a convincing read: https://notes.ayushsharma.in/2017/09/im-killing-disqus-comments-on-my-blog-heres-why
Please let me know if I can help resolving this issue!
If you have a list page, the tags of each list items are links. But when highlighted, the underline stretches beyond the tag.
Currently the font size of author and description is too low. Maybe not as much author but description is very hard to read on mobile (iPhone 6).
Would it be possible to increase the font a bit of them and move the author and description up a bit in the view when on mobile?
I use this site with blogdown
and set it up using blogdown::serve_site()
, which will build and serve the site, while I'm updating the site. To deploy the site I wanted to take advantage of Netlifys continuous integration service, so I needed to use the hugo
command for building the site.
Somehow the site looks a little out of order, the pages are not centered correctly, when I use this command. This may be a blogdown
-issue, but possibly you have an idea, what may have gone wrong.
(I redownloaded your themes static files again to make sure I didn't tamper with them)
My site: henningsway.rbind.io
Hi,
This theme is truly awesome! I was wondering if you could add a few tweaks in regards to Disqus?
Thanks!
I'm looking for support for RSS feeds (I like using RSS feeds myself)
Willing to look into it myself if I could get some directions of course!
I deployed my site with your theme and it is really awesome. Thank you for it. ๐
One thing though, on production, for some reason, config.toml doesn't seem to pick up what I specified.
For example, here is how site looks on localhost :
And here is the live website :
http://www.nikitavoloboev.xyz/
Not really sure why that happens.
For example in my case on my website. Is it possible to add a line break after this line?
So that Currently
starts on new line?
I have a hard time deciding on the right color for the accent
of the blog.
Would it be possible to randomize this for each visit and pick one of say five predefined colors for one session? (This is probably not, how static pages are usually set up. I'm mostly thinking loud, I guess. :) )
Hi,
Firstly, thanks for the awesome theme!
I recently tried to include a table in a post and I couldn't get it to render. I tried both types of tables listed in the docs e.g.:
| Name | Age |
| ----- | ---- |
| Bob | 27 |
| Alice | 23 |
Name | Age
--------|------
Bob | 27
Alice | 23
But they both get rendered without any table lines.
I was wondering if this is an issue with the theme or if I'm doing something wrong?
Thanks for your awesome work.
Elliot
As best as I can tell (though I just starting playing with this awesome theme just yesterday), enabling disqus in the config.toml
seems to override any page-specific options to disable/enable comments, which is a feature supported in some other themes. I've tried adding a comments
section to the toml
header in my blog posts and have been unable to selectively enable/disable comments.
For example, a blog post renders with comments when comments = true
(source is here), but an informational page marked as type = "static"
and comments = false
also render comments (source is here).
Is there something I am overlooking, or a simple way to fix this? I'd be happy to help with a PR. Thanks in advance for any help.
Currently on mobile, the home page looks different to Desktop. On desktop you get a row of options user specifies + a row of social buttons like here :
On mobile however, it does not even show social buttons anywhere. The home screen looks like this :
Would it be possible to configure the theme to show social button row here :
This would be a lot more useful that what is currently shown.
Thank you.
I can't figure out why when I change main.css
file and use my own custom css, the things don't actually go in effect after I restart the web page. It seems Hugo doesn't care about the values I put in main.css
.
Also I am trying to change the colour of the text. This one:
But I cannot find anywhere where it is defined in the theme. I can only change the colour in the browser.
Thank you for any help.
It would be quite awesome if users could add an image of their choice and it would show above the name.
Perhaps with rounded corners. I don't think it would subtract from the minimalism of this theme and it can be an optional setting.
Add favicon link in layouts/partials/header.html
<link rel="icon" href="{{ .Site.Params.favicon | absURL }}">
What is the preferred way to create a regular single page, e.g. an about page ?
In config.toml
, in [params], is it possible to wrap a hyperlink in there?
Hello!
Thanks for the creating this theme! It's awesome. I'm just wondering where I can find the CSS for modifying the size of the title on each blog post? If there isn't a section for this, how might I create it?
i has changed my font type on .toml
font = "Josefin+Slab"
but doesnt work, the link generated is
https://fonts.googleapis.com/css?family=Josefin%2bSlab
and i need
https://fonts.googleapis.com/css?family=Josefin+Slab
It would be awesome to add Patreon logo so users can specify a Patreon website to show up in their upper bar.
I would add it myself but not sure what I should change for that.
Thank you.
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.