Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 11

How to add multiple pages to my site

Solved! Go to Solution.

Im just learning how to use html and some basic CSS and I was wondering how I could add multiple pages without using Jekyll or any third party help. Is there anyway to do this using only html and the repo?

EDIT: What I ment was how do I link to another HTML file through my index.html file, I thought I did it right and it works when I try it offline but Im not sure how to get it to work through the repo copy. 

 

SITE: https://borealblizzard.github.io/

REPO: https://github.com/BorealBlizzard/BorealBlizzard.github.io

10 Replies
Highlighted
Solution
Copilot Lvl 3
Message 2 of 11

Re: How to add multiple pages to my site

You are using absolute path and you have to use relative path instead.

In the "a" tag replace:

<a href="https://BorealBlizzard.github.io/page1.html/">Page 2</a>

To:

<a href="page1.html">Page 2</a>

Same at page1.html file. :smileyhappy:

Highlighted
Copilot Lvl 2
Message 3 of 11

Re: How to add multiple pages to my site

Thank You. Im supriesed I havn't seen that anywhere.

Highlighted
Ground Controller Lvl 1
Message 4 of 11

Re: How to add multiple pages to my site

I am unable to link the pages on my site. it shows 404 page not found
please help me

Highlighted
Copilot Lvl 2
Message 5 of 11

Re: How to add multiple pages to my site

It Says 404 Not Found

Highlighted
Copilot Lvl 2
Message 6 of 11

Re: How to add multiple pages to my site

Works now

<a href="help.html">help</a>
Highlighted
Ground Controller Lvl 1
Message 7 of 11

Re: How to add multiple pages to my site

This was a great help and explanation to my problem thank you 

Highlighted
Ground Controller Lvl 1
Message 8 of 11

Re: How to add multiple pages to my site

How would I do it using markdown instead of HTML? Would I just refer it to

page-name.md

? Or is there something different I have to do?

Highlighted
Ground Controller Lvl 1
Message 9 of 11

Re: How to add multiple pages to my site

Comme collect your drinks when you want. Premium advice right there.


@iordic wrote:

You are using absolute path and you have to use relative path instead.

In the "a" tag replace:

<a href="https://BorealBlizzard.github.io/page1.html/">Page 2</a>

To:

<a href="page1.html">Page 2</a>

Same at page1.html file. :smileyhappy:


 

Highlighted
Ground Controller Lvl 1
Message 10 of 11

Re: How to add multiple pages to my site

THANK YOU