Comments (4)
Before we merge this master, I'm thinking if we should also allow specifying the other icon type -- touch icons (apple-touch-icon
and apple-touch-icon-precomposed
).
Ref:
- https://wordpress.org/support/topic/fav-icon-and-apple-touch-icon/
- https://webmasters.stackexchange.com/questions/2010/favicon-icon-shortcut-icon-apple-touch-icon-are-there-any-others
- https://mathiasbynens.be/notes/touch-icons
from neuron.
Okay, here's what I propose.
There are unmanageable number of favicon combinations, however using svg favicons will simplify the configuration greatly (browser support ongoing).
I suggest basically the following HTML:
<link rel="icon" sizes="any" type="image/svg+xml" href="/static/favicon.svg">
<link rel="alternate icon" href="/static/favicon.png">
<link rel="alternate icon" href="/static/favicon.ico">
<!-- See https://medium.com/swlh/are-you-using-svg-favicons-yet-a-guide-for-modern-browsers-836a6aace3df -->
<link rel="apple-touch-icon" href="/static/apple-touch-icon.png">
(If we really want, we can expand this list in future)
Generate each of these only if the corresponding icon file exists in the zettelkasten ./static
directory. If no favicons exist, use the default neuron logo as favicon.
Convention over configuration. neuron.dhall need not be touched.
Read Are you using SVG favicons yet?
from neuron.
Icons can also be specified via the manifest.webmanifest
file which can likewise be detected and injected as:
<link rel="manifest" href="static/manifest.webmanifest">
from neuron.
Moved to #256
from neuron.
Related Issues (20)
- how does neuron compare to org-roam, org-brain and zetteldeft?
- Unicode-normalised filenames not matched by non-normalised links HOT 1
- Feature Request: File inlining (in Markdown) HOT 3
- Feature request: first class support for regular markdown links HOT 7
- Feature Request: Support for ruby text (furigana) with markdown syntax HOT 4
- Nix alternative (again)
- Feed's <icon> URL is broken
- Document WSL limitations
- Static builds are broken HOT 17
- Collapseable Section
- Is there a way to create non-hierarchical links? HOT 1
- Zettel ID influences clustering behaviour HOT 3
- Small mistake in tutorial: gen should be rib HOT 1
- Unicode file-named notes are being ignored HOT 10
- index.md not generating links
- Default link-title for a zettel
- Cannot create the first zettel HOT 1
- new version (v 1.9.35.0) giving error output
- Missing dependency: reflex-dom-pandoc >= 0.7.9.0
- Unable to install on m1 macbook HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neuron.