Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Use local paths whenever possible and place favicon to root #422

Merged
merged 4 commits into from
Dec 26, 2017

Conversation

Ingramz
Copy link
Contributor

@Ingramz Ingramz commented Dec 26, 2017

This pull request improves upon #421 and does two noteworthy things:

  1. Removes https://flight-manual.atom.io from links within articles. This makes such links protocol agnostic and when viewing a locally compiled version, you'll be not redirected out of your local copy.

  2. Moves favicon.ico to the root of domain.
    The gulp task for copying the favicon already copied the icon file to the root of output, however the automatic prune functionality from nanoc deleted the file quickly after. Adding the file to nanoc exclusion list solves that.

    In templates it is still beneficial to reference /favicon.ico as the icon of choice in case the browser does not look for it automatically. I moved the relevant <link> tag closer to others, which simplifies things a bit. The path to favicon is now also protocol agnostic.

@lee-dohm
Copy link
Contributor

Looks good to me, thanks!

@lee-dohm lee-dohm merged commit 8fa5126 into atom:master Dec 26, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants