Code Monkey home page Code Monkey logo

minimal's People

Contributors

calintat avatar cvoelcker avatar danielschemmel avatar dazinator avatar felixb avatar ffrizzo avatar jkremser avatar jm3 avatar jurnho avatar kastnerp avatar lsahn-gh avatar mariosangiorgio avatar middling avatar nhejazi avatar nuno-silva avatar oneleaftea avatar orangefiredragon avatar tma15 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  avatar  avatar  avatar  avatar  avatar  avatar

minimal's Issues

support for Bitbucket/Gitlab repos

It would be really cool if there could be project support for online code hosting services other than Github. Here is my suggestion:

  • We add bitbucketUsername and gitlabUsername to the main config.
  • In the project frontmatter we support repoGithub repoBitbucket, repoGitlab.
  • repo remain unchanged, (points to Github) to support existing code.

I am willing to create a PR if this seems reasonable.

How to include a picture for posts to show up in RSS-Reader?

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?

About me Section

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

Changing the title of the content pages

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.

Adding images on homepage/in posts

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

Tag Links with Wrong Content

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!

Increase font of description field on mobile

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.

should I need to copy main.css?

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?

It doesn't find /css/main.css

Not fully sure why but it doesn't seem that minimal reads /css/main.css imported here.

Also Prettier formatter formats highlight.js import like this :

2017-07-30 at 23 45

And it stops working. It has to be one the same line for some reason. :(

Feature request: Optional change on landing page

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

Did something break with netlify?

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

Header levels are inconsistent

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?

Add Disqus support

I'll send a PR for this, basically if disqus url configured, render the inbuilt disqus template provided by hugo!

How to style single.html style

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.

How to specify what renders on each route?

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.

partial formatting upon deployment

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:
screen shot 2017-12-27 at 9 46 27 pm

...but it doesn't look quite right upon deployment:
screen shot 2017-12-27 at 9 46 41 pm

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.

Github Pages `Page build failed: Unknown tag error`

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/.

image

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!
๐Ÿ˜ƒ

unable to deploy on netlify [solved]

hey i am unable to deploy on netlify. i am getting
failed during stage 'building site': Build script returned non-zero exit code: 127

have anyone been able to successfully deploy to netlify with the latest hugo_0.40.1 version?

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/

Enabling Syntax Highlighting for R while using Bootstrap from CDN

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/?

Increase font size of author + description on mobile version

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?

Change order of blog post/projects

Hello,

How would I change the order that the blog posts/projects show up on the list pages?

For example, if the order is:

Project #3
Project #2
Project #1

and I want to change it to...

Project #1
Project #2
Project #3

Site looks a little funny after running hugo

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

Some Disqus Related Tweaks?

Hi,
This theme is truly awesome! I was wondering if you could add a few tweaks in regards to Disqus?

  1. Currently, Disqus Comments show up with full width on every browser I have tried, such that it looks like letters are running off the page. Is it possible to make it narrower to match the style of the theme?
  2. Also, I made a pull request to turn off comments in the front-matter, using "disable_comments" variable. Hope this can be useful.

Thanks!

RSS feed integration

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!

How to change topbar text on mobile

On Desktop, Minimal theme will show Home on the top like here :

2017-08-07 at 19 39

However on mobile that text changes to my name for some reason :

test

Is it possible to have 'Home' shown there too or some other text I specify?

Random accent chosen from a set of colors possible?

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. :) )

Tables Not Rendering

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.

table-render

I was wondering if this is an issue with the theme or if I'm doing something wrong?

Thanks for your awesome work.
Elliot

Selectively enable disqus comments

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.

Show social buttons on mobile

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 :

2017-08-17 at 02 58

On mobile however, it does not even show social buttons anywhere. The home screen looks like this :

2017-08-17 02 57 38

Would it be possible to configure the theme to show social button row here :

2017-08-17 02 57 38

This would be a lot more useful that what is currently shown.

Thank you.

Help trying to change CSS for this theme

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:

2017-12-02 at 22 10

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.

Add support for a small image to be added

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.

Support favicon

Add favicon link in layouts/partials/header.html

<link rel="icon" href="{{ .Site.Params.favicon | absURL }}">

CSS for Title of each post

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?

Font type error

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

Asciidoc admonition not displayed

I've created s simple project using asciidoctor to write post and I want to use admonitions icon but they are not properly displayed. I've followed the icons doc but even adding the icons attribute as suggested, I can't get admonitions to be displayed.

Add Patreon logo support

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.

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.