Open utterances-bot opened 2 years ago
I used CasperishTheme like you but it broke my Publish theme style.
Hi @emrdgrmnci
Try changing, in your main.swift
file:
var rootPathString = "emredegirmenci"
to
var rootPathString = "emrdgrmnci.github.io"
Also, be careful, you have a branch in your repo (main
) with a private key in it.
Hi @mvolpato,
I created this web-site reading your articles and others. But my images don't see in web page.
I already add them under Resources file. Do they show after git push
command?
It shows cracked link.
Hi, your images are in the root of the website. When you reference them in your HTML you need to use /imageName.ext
.
For instance you now have
https://www.emre.world/posts/poeditor/Resources/fastlane_export.png
and it should be
https://www.emre.world/fastlane_export.png
Publish a Swift static website on GitLab Pages
How to host your static website for free. Generate the static pages using Swift Publish and host on GitLab Pages.
https://ishouldgotosleep.com/posts/publish-swift-static-website-gitlab/