Comments (9)
Hello! I suggest you to use the inc_after_head
in _config.yml
It allows you to inject code in the <head>
tag of your wiki
- create a file with this path:
_includes/my_custom_head.html
- add
<link rel="shortcut icon" type="image/x-icon" href="{{site.url}}/favicon.ico">
to your new file - add your favicon.ico file to your github page root folder or inside the /assets/ folder
- set the
inc_after_head = 'my_custom_head.html
in your _config.yml
Let me know if it works for you
from git-wiki-theme.
Yeah that worked thanks a lot mate. 😊
from git-wiki-theme.
Okay it had worked for a few seconds now it doesn't work.
from git-wiki-theme.
used a png
file.
from git-wiki-theme.
Can you send me the link of your repo and the link of the published wiki please?
Maybe it's a CDN cache issue?
from git-wiki-theme.
I've seen your repo
You the url of your image is wrong, it should be:
href="{{site.url}}/assets/images/1200px-Wikipedia-logo-v2.svg_.png">
from git-wiki-theme.
I noticed that bit fixed it but still doesn't work.
from git-wiki-theme.
so your wiki is on a sub-path of the site.url
hence you have 2 possibilities:
{{site.url}}/{{site.baseurl}}/assets/images/1200px-Wikipedia-logo-v2.svg_.png
or the full link directly
https://sventek-s.github.io/sventek-s-wiki/assets/images/1200px-Wikipedia-logo-v2.svg_.png
from git-wiki-theme.
It worked, used the first option, once again thanks a lot mate
from git-wiki-theme.
Related Issues (20)
- Feature Request - Multilanguage
- Blog page doesn't work on Skeleton HOT 2
- Add New Post Unknown ISSUE HOT 3
- [Feature request] Add support for categories/tags HOT 1
- Dark theme breaks
- Dark Mode Doesn't Apply to Mobile Header
- POSTS not REFLECTING HOT 3
- GitHub links like `Add new` should work for `wiki_folder=""` HOT 1
- [GENERAL] Doku broken HOT 1
- Translating documents. HOT 2
- [GENERAL] Supporting mdpp files? HOT 1
- Suggestion: Dark Theme HOT 1
- WikiName as page title HOT 7
- [GENERAL] Using Git Wiki without github pages HOT 1
- [GENERAL] Blog Posts missing when clicking read all. HOT 1
- [GENERAL] How to show all the pages? HOT 3
- Improve Sidebar Functionality HOT 1
- [GENERAL] How do I edit the build script? HOT 1
- Next button in posts/blog is buggy HOT 6
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 git-wiki-theme.