Skip to content

Template for a Github Pages web site using GitHub API and Vue.js

License

Notifications You must be signed in to change notification settings

fraigo/github-pages-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-pages-template

Template for a Github Pages web site using GitHub API

Usage

You're done!! Now you have an automatically generated Github Page

Configuration

You can add some specific configuration in the file ./config.js

module.exports = {
  user: "",
  name: ""
}

Featured repositories

You can add some featured repositories following this steps:

  • Edit the file ./featured.js, adding a github project name, and uploading a screenshot to the images/ folder.
'my-repository-name' : {
    image:"images/repository-screenshot.png"
},

In this example, two projects are added to the "Featured" section

var myRepos = 
{
    'my-repo1' : {
        image:"images/image1.png"
    },
    'my-repo2' : {
        image:"images/image2.png"
    },
    
}

If you want to use this page template outside the github.io domain, you can change this line in js/config.js to select the default 'github' user to your user name or any other:

if (!myUser){
    myUser = "github";
}  

Web preview

https://fraigo.github.io/github-pages-template/

Test this site with your user name

https://fraigo.github.io/github-pages-template/?username

Examples:

Contributing

Feel free to contribute to this project submitting bugfixes and new features.

About

Template for a Github Pages web site using GitHub API and Vue.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published