Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9269501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T15:08:18+00:00 2026-06-18T15:08:18+00:00

I created a wonderful GitHub Pages website for my little project , and I

  • 0

I created a wonderful GitHub Pages website for my little project, and I added some other pages into the gh-pages branch.
My problem is that, everytime I regenerate the website from ‘Settings=>Automatic Page Generator’, everything is cleaned up and I have to restore the files manually.

Is there a way to prevent, or work around this?

It would have been much better if the Automatic Generator was just overwriting his stuff without removing existing files.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T15:08:20+00:00Added an answer on June 18, 2026 at 3:08 pm
    1. Checkout the gh-pages branch.
    2. mkdir _layouts
    3. move index.html to _layouts
    4. edit _layouts/index.html replace the the inner html of the contents section with {{content}}
    5. make new file index.md
    6. Paste markdown content of automatic page generator into index.md
    7. prepend the following to index.md

      ---
      layout: index
      ---
      
    8. create _config.yml
    9. include the following in _config.yml:

      markdown: kramdown
      kramdown:
         auto_ids: true
      

      this step is to match github’s markdown syntax

    10. add & commit changes, and then push branch back to github.

    Now you can simply edit index.md from the gh-branch in your github source browser and it will update using jekyll automatically and not mess with anything in your gh-branch.

    You can also make more items editable in the layout using place holder {{page.varname}} and then adding varname:your text to the header of your index.md.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a BI team that have created a wonderful data warehouse that works
I hope that title makes some sense. I have UIView (created in IB) where
So, I've created my wonderful winforms app that I want to unleash upon the
I created a custom module for Orchard following this wonderful guide . I have
I am using this wonderful bit of code created by jackreichert . This in
I've created a HTML based report that can be variable lengths and number of
I'm using Ion Auth for my website authentication, and it's a wonderful tool with
Under Windows I installed MinGW and Eclipse, and created a new C++ project with
I'm using a IRC bot written in procedural PHP that was originally created by
We have an older C++ tool that generates some python code automatically. I tried

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.