Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idea: can you make this a template repository incase somebody wants to use it? #44

Open
C7CodingDev opened this issue Dec 6, 2021 · 5 comments
Labels

Comments

@C7CodingDev
Copy link

Hello, I am looking for a theme like this that I can use for my github pages

@yous
Copy link
Owner

yous commented Dec 6, 2021

Hi, I made whiteglass-template, so you can try it.

@yous yous added the question label Dec 6, 2021
@C7CodingDev
Copy link
Author

wait then how would i add it to me jykell website using the _config.yml file?

@yous
Copy link
Owner

yous commented Dec 7, 2021

You can make a new Jekyll site repository by clicking "Use this template" button on whiteglass-template. If you want to edit existing _config.yaml file to use whiteglass, please take a look at _config.yaml of whiteglass-template.

@C7CodingDev
Copy link
Author

but the problem is, if i want to use if for a site i already made. and i dont know how to configure this [this is true] how could i do it [i forked the template one, but it did nothing]

@yous
Copy link
Owner

yous commented Dec 7, 2021

To use whiteglass-template, create a repository by clicking "Use this template" button instead of copying some files from it.

  • .github/workflows directory and Gemfile enable GitHub Actions to generate the site and push it to gh-pages branch.
  • _posts directory contains an example post, so copying this isn't necessary.
  • _data, 404.md, about.md, archives.md, feed.xml, index.html, and robots.txt are parts of the theme.
  • _config.yml file is an example, so you have to change the value of baseurl and url to appropriate one after creating a repository. If you want to configure C7CodingDev/literate-octo-waddle repository:
    baseurl: "/literate-octo-waddle"
    url: "https://C7CodingDev.github.io"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants