🌍 Project Page • 🤓 Paper
[TL;DR] This repo contains a starter tutorial to build the paper website which aims to convey the concept of papers in a more straightforward, intuitive and easy-to-understand way.
First, click your github profile image, on the pop up panel, find Your Organizations
button and click it. Then click New organization
to create a new, free organization named example-project-999
(just give your organization with any unique name), from now on, we use example-project-999
as the example:
Within the just built organization, import paper-website repo to create a new repo with your unique org name appended with .github.io
, the result looks like: example-project-999.github.io
, link to be imported is below:
https://github.com/paper-website/paper-website.github.io
Make sure your choose your organization correctly and name your webiste repo properly. Then click Begin Import
. This will take several minutes to for remote server to compile.
Now you can deploy the website and just wait for a few minutes, you can get to the setting page option, your will find the generated website link.
Git clone the source code of your website repo:
git clone https://github.com/example-project-999/example-project-999.github.io
cd example-project-999.github.io
Use any editor or simply code .
to open your project example-project-999.github.io
.
In index.html
file, change <title>Paper-oriented Website Building</title>
into anything you like. Remember, there are two titles: one for the browser tab, one for the main content.
Then, push the modification to your remote repo:
git add .
git commit -m "Something to commit"
git push -u origin main
If everything work well, get into your website, wait for several minutes, refresh your website, you should see the title changed.
Inindex.html
file, copy and paste below into a space between two sections.
<section class="section">
<div class="container is-max-desktop">
<!-- Method. -->
<div class="columns is-centered has-text-centered">
<div class="column is-four-fifths">
<h2 class="title is-3">Method</h2>
<div class="content has-text-justified">
<p>
A new method!
</p>
</div>
</div>
</div>
<!--/ Method. -->
</section>
Again, push the modification to your remote repo with the same commands as shown in 2.1
.
In index.html
file, from line 147 to line 171, change something to make the dog video pop up.
One more time, push the modification to your remote repo with the same commands as shown in 2.1
.
In your extension, add open in browser
, this can locally compile your website on your browser. When it is installed, right click on your index.html
, you will see Open In Default Browser
and Open In other Browsers
. Click Open In Default Browser
, it will open a tab on your default browser automatically. If it doesn't work, click Open In other Browsers
and choose other browsers.
- why a new organization is needed?
With a organization uniquely named ABC123
with its repo named ABC123.github.io
, you will get your website domain name to be https://ABC123.github.io/
, which is short and looks good.
However, if you build your website directly in a repo under your account Trueman-Don
, with its repo named ABC123.github.io
, you will get your website domain name to be https://trueman-don.github.io/ABC123.github.io/
, which is quite long and not so easy to remember.