Skip to content

Conversation

@softinio
Copy link
Contributor

  • Added my blog (http://gadgetplayboy.com/) to the show case section of hugo docs
  • Added my article about migrating to Hugo to the press/articles section of hugo docs
@CLAassistant
Copy link

CLA assistant check
All committers have accepted the CLA.

@anthonyfok
Copy link
Member

Thanks @softinio!

I did, however, need to re-capture the screenshot for your site because the thumbnails are supposed to be 600×400 rather than 600×344. I ended up using the following wkhtmltoimage from http://wkhtmltopdf.org/ for the screenshot:

wkhtmltoimage --width 1500 --height 1000 http://gadgetplayboy.com/ gadgetplayboy-tn.png

I chose 1500×1000 because I found your website looked best at that window size for a 3:2 thumbnail. Other websites may have different optimal sizes for the thumbnail.

(I then resized and optimized the image with convert (ImageMagick), pngquant and optipng, which I routinely do for all showcase pull requests.)

I then made the following changes to your Showcase entry:

--- a/docs/content/showcase/gadgetplayboy.md
+++ b/docs/content/showcase/gadgetplayboy.md
@@ -2,13 +2,13 @@
 date: 2015-11-29T07:16:53-05:00
 description: Salar Rahmanian Blog
 license: MIT
-licenseLink: ""
+licenseLink: https://raw.githubusercontent.com/softinio/gadgetplayboy.com/master/LICENSE
 sitelink: http://gadgetplayboy.com/
 sourceLink: https://github.com/softinio/gadgetplayboy.com
 tags:
 - personal
 - blog
-thumbnail: /img/gadgetplayboy.png
+thumbnail: /img/gadgetplayboy-tn.png
 title: gadgetplayboy.com
 ---

I also revised your Git commit message according to the Contribution Guideline:

  • Before: Added gadgetplayboy.com to show case and an article to press
  • After : Add gadgetplayboy.com to Showcase and an article to Press

Documenting all these to help future newcomers. 😉

Merged as 5af8cc2 (master) and c25c151 (v0.15.docs).

@softinio
Copy link
Contributor Author

Thanks @anthonyfok

ps: Great tip about wkhtmltoimage had never come across it before :-)

@anthonyfok
Copy link
Member

I discovered wkhtmltoimage just today myself! :-) I was using gnome-web-photos before, but it does not allow a specified height, so the screenshot it generates is unsatisfactory, so I went searching and found this article: http://www.binarytides.com/take-webpage-screenshot-from-command-line-in-ubuntu-linux/

@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

3 participants