by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2019 15:23
    road2stat closed #346
  • Jan 30 2019 00:56
    road2stat closed #344
  • Jan 30 2019 00:56
    road2stat commented #344
  • Jan 30 2019 00:55
    road2stat edited #344
  • Jan 30 2019 00:55
    road2stat commented #346
  • Jan 29 2019 08:46
    CarlvinJerry commented #344
  • Jan 29 2019 07:43
    nataliegnelson opened #346
  • Jan 29 2019 04:56
    road2stat commented #345
  • Jan 29 2019 04:24
    SportStatisticsRSweet closed #345
  • Jan 29 2019 04:24
    SportStatisticsRSweet commented #345
  • Jan 29 2019 04:18
    road2stat commented #345
  • Jan 29 2019 04:10
    road2stat commented #344
  • Jan 29 2019 04:08
    SportStatisticsRSweet opened #345
  • Jan 28 2019 19:50
    CarlvinJerry commented #344
  • Jan 28 2019 19:31
    CarlvinJerry opened #344
  • Jan 28 2019 17:54
    road2stat closed #343
  • Jan 28 2019 17:54
    road2stat commented #343
  • Jan 28 2019 16:59
    CarlvinJerry opened #343
  • Jan 28 2019 16:37
    CarlvinJerry commented #342
  • Jan 28 2019 16:11
    road2stat closed #342
Nicholas Tierney
@njtierney
Ok cool thanks!
Also, any recommendations for favicons? Where does one put one in a Hugo site? I've got mine under static at the moment but that doesn't seem to be the right place?
Yihui Xie
@yihui
Actually if you do not mind manually optimizing PNG/JPG images, this website is pretty amazing: http://optimizilla.com It can further optimize PNGs that have been optimized by optipng.
static/favicon.ico should be fine, unless your theme has defined a custom favicon path
favicon.ico is a little old-fashioned. Modern browsers support other types of images for favicon, like PNG.
I have to go now, but I just took a quick look at your HTML source: https://njtierney-test.netlify.com/ Apparently it is not valid. There are elements like <h1> and <img> in <head>.
Nicholas Tierney
@njtierney
Ah indeed, I was just experimenting there, not sure how I am supposed to specify stuff like that in the <head> section
Yihui Xie
@yihui
https://validator.w3.org is very useful if you have not used it before.
Nicholas Tierney
@njtierney
OK! Thanks so much for your help, @yihui !
Nicholas Tierney
@njtierney
also, is there any inherent advantage to .png over .jpg? It seems that jpg can be much smaller?
Yihui Xie
@yihui
Not necessarily. It depends. My experience is that pictures (e.g. taken by cameras) are often smaller in JPG than PNG. R graphics is the other way around (PNG often smaller).
Yihui Xie
@yihui
Can someone volunteer to help James fix his website issue: rbind/support#37 The source repo is at https://github.com/rbind/batteries_not_included The website is at http://batteriesnotincluded.rbind.io. It is a simple path issue.
James Blair
@blairj09
I've resolved the issue. I updated baseURL in config.toml to be / as opposed to the full site url. Thanks for pointing me in the right direction.
Nicholas Tierney
@njtierney
nice site @blairj09 !
Yihui Xie
@yihui
Glad you figured it out. Indeed it was just because of a missing trailing slash.
Nicholas Tierney
@njtierney
Hi There! Does anyone know how I could go about extending the header of my website whilst keeping the main body of text below it the same width?
Currently I control the width by setting body width here
but I'm sure that there is a better way
Yihui Xie
@yihui
Whenever you want to control anything on a page, first you must be be able to select it easily. The most common way is to put it in an HTML tag/container and assign a class. Then define CSS for the tag or class.
Nicholas Tierney
@njtierney
OK sure, I guess I see two obvious options here
  1. Add a class within the header.html inside the <body> tag
  1. Make a class that gets used for everything underneath the header
Yihui Xie
@yihui
@sellorm Possible candidate of your awesome-blogdown list: https://twitter.com/shoemakah/status/879549518882197504
Nicholas Tierney
@njtierney
perhaps this is a bit of a simple question, but how do I best go about getting my current blog, njtierney.com to now be njtierney-test.netlify.com
Nicholas Tierney
@njtierney
Yihui Xie
@yihui
No, that post won't answer your question. See my example: https://github.com/rbind/yihui/blob/master/static/_redirects#L8-L9
I think you want to redirect njtierney-test.netlify.com to njtierney.com instead of the other way around.
@/all Anybody can help him? rbind/support#40 I'm very busy these days, and don't have the time to ask him for detailed info.
Nicholas Tierney
@njtierney
ahhh
OK, so I'm actually not sure what that entails
image.png
Would it mean that I change a CNAME to have on the left, njt.netlify.com and njtierney.com on the right?
Yihui Xie
@yihui
No, your current settings seem to be correct. I misunderstood your question. I thought you wanted to redirect *.netlify.com to njtierney.com.
For example, people can access your website through http://njt-test.netlify.com but you probably do not want them to use this subdomain.
BTW, you should enable HTTPS on Netlify.
Lukas Burk
@jemus42
I transferred my blog repo to rbind at https://github.com/rbind/blog.jemu.name and now I don't have a settings button anymore, is that… intended?
Eric Nantz
@rpodcast
@jemus42 I made you the admin of your repository so that should enable you to view the settings
Lukas Burk
@jemus42
Wonderful, thanks :)
Bruno Rodrigues
@b-rodrigues
hello everyone
I've deployed my blog with netlify; I must say I'm impressed
it's really easy
however I'm not sure I've done the right steps to use my own domain
I own www.brodrigues.co, registrar gandi.net
I enabled the custom domain on netlify
and then pointed the domain to the nameservers that I was given
is that enough?
Bruno Rodrigues
@b-rodrigues
yep, seems like it's enough
just had to wait