Technologies: Jekyll, Bootstrap, jQuery, Popper.js, jQuery Localize, Font Awesome, Devicon, DevOpicons, HTML and CSS.
cd Personal-Website
jekyll serve
jekyll serve --host=0.0.0.0
ifconfig
ipconfig
192.168.x.y
, with x
and y
replaced
by numbers.jekyll serve --host=0.0.0.0
ifconfig
or ipconfig
)
were 192.168.1.5
, and jekyll printed Server address: http://0.0.0.0:4000
,
go to the address 192.168.1.5:4000 on your phone's browser (or other device
that you're testing on).gh-pages
(after configuring that to be
the source build page) and include a .nojekyll
file so GitHub won't try to
rebuild it.{{site.url}}
will direct to the homepage fine locally but seems to fail
if the URL is a GitHub Pages project page (not a GitHub Pages user or
organization page or a custom URL). This can be resolved by specifying
{{site.url}}/index.html
, but shouldn't be necessary with a custom URL.All external links that open in new tabs MUST include rel="noopener" for security reasons.
As long as you don't use any Jekyll plugins that aren't supported by GitHub Pages, GitHub Pages will automatically display the master branch at the URL it is set to in the settings page.
If you want to use custom plugins, you can follow this post.