Hello!
I’d like to use uno theme as my main page
and then like to use this theme for my photos:
Is it possible to then have one of the links in “uno” to point to “lens”?
This would imply to have multiple github pages, I think. Am I going in the right direction?
Thanks
Gianpaolo
ckruse
November 18, 2020, 1:33am
2
Yep, you’re absolutely on the right path.
Using Github Pages terminology, you’d have one repo set up as the User site (e.g. yourname.github.io
) and the other set up as a Project site.
Ensure the _config.yml
for the photos repo specifies baseurl: /photos
and you’re good to go.
I’ve had this setup in production for a number of years and it works great.
2 Likes
Indeed. You need multiple repos each serving on their own path.
Here are 3 sites that could exist
Here are the repo names for each
On any of the sites you can have an external url to the other sites. They happen to have a common domain but you must think of them as separate sites
1 Like
thank you very much @MichaelCurrin and @ckruse
now it’s clear
I went through the same question, my pages use remote-theme and i developed a github action that works with scheduler and supports updating multiple gh-pages at the same time.
Jekyll update github pages without new commit · Actions · GitHub Marketplace · GitHub , the action update gh-pages without generate new commits.
name: Update all github pages
on:
schedule:
- cron: "30 0 * * *"
jobs:
github-pages:
runs-on: ubuntu-latest
name: Update Github Pages Initiatives
steps:
- name: Jekyll update github pages without new commit
uses: DP6/jekyll-update-pages-action@v1.0.1
with:
DEPLOY_TOKEN: ${{ secrets.GH_PAGES_DEPLOY_TOKEN }}
USER: ${{ secrets.GH_PAGES_USER }}
FILTER: 'is%3Apublic%20org%3Adp6'
2 Likes
thanks a lot (sorry for the delay in replying)