Comments (3)
This has been sitting here for a little while, but in case anyone out there runs into this: you've probably just got relative file paths in your config.yml instead of absolute paths. Instead of this...
app_icon: assets/appicon.png
do this:
app_icon: /assets/appicon.png
Same goes for other resources that are accessible from multiple pages, like your press kit 👍
from automatic-app-landing-page.
I managed to fix it by editing header.html file.
from this:
{% if page.url != '/' %} <a href="../" target="_self"><img class="headerIcon" src="{{ site.app_icon }}"></a> {% else %} <img class="headerIcon" src="{{ site.app_icon }}"> {% endif %}
to this :
{% if page.url != '/' %} <a href="../index.html" target="_self"><img class="headerIcon" src="../assets/appicon.png"></a> {% else %} <img class="headerIcon" src="{{ site.app_icon }}"> {% endif %}
hope it helps! 👍🏻
from automatic-app-landing-page.
Did something change to where this isn't working as of late? I recently loaded this template and am trying to add images to presskit.md and other pages using
![](/assets/image.png)
It shows fine in the "Preview" pane on Github, but after publishing, the images don't show up. I have older sites deployed from this template that use this exact method that work fine.
Thanks!
from automatic-app-landing-page.
Related Issues (20)
- Video autoplay HOT 1
- Version for macOS App HOT 1
- iPad app preview instead of iPhone? HOT 2
- Adding Open Graph meta properties HOT 1
- Instagram icon is not shown if user account specified in config
- Help adding app-ads.txt file HOT 1
- Header not displaying app icon in pages
- Host it in our own servers instead of GitHub Pages HOT 2
- Make this repo a template so we can use it multiple times HOT 3
- Additional Images?
- _config.yml
- Language Support
- Support multiple screenshots HOT 1
- markdown files is not showing in the page.
- Landing page
- app
- Adding registration forms
- Is there a .well-known folder? HOT 2
- Forking the repo doesn't create a github pages anymore
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 automatic-app-landing-page.