Giter Site home page Giter Site logo

gindachen.github.io's Introduction

How to install

  1. Clone this repo.
  2. Initialize the theme submodule: git submodule update --init --recursive
  3. Install Hugo: brew install hugo
  4. Run the server and check it works: hugo server

Useful Scripts

Useful script when in trouble of git submodule:

# Delete the submodule entry from .gitmodules file:
# [submodule "path/to/submodule"]
#     path = path/to/submodule
#     url = https://github.com/user/repo.git

# Stage the .gitmodules changes:
git add .gitmodules

# Delete the submodule entry from `.git/config`

# Remove submodule files from working tree and index. 
# Note: this has not removed your local version.
git rm --cached path/to/submodule

# Optionally, remove your local submodule files:
rm -rf path/to/submodule

# Commit the changes:
git commit -m "Removed submodule <name>"


# Add submodule
git submodule add --depth=1 https://github.com/GindaChen/hugo-PaperModX.git themes/PaperModX
git submodule update --init --recursive # needed when you reclone your repo (submodules may not get cloned automatically)

Disque comment service:

<div id="disqus_thread"></div>
<script>
    /**
    *  RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
    *  LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables    */
    /*
    var disqus_config = function () {
    this.page.url = PAGE_URL;  // Replace PAGE_URL with your page's canonical URL variable
    this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
    };
    */
    (function() { // DON'T EDIT BELOW THIS LINE
    var d = document, s = d.createElement('script');
    s.src = 'https://gindachen.disqus.com/embed.js';
    s.setAttribute('data-timestamp', +new Date());
    (d.head || d.body).appendChild(s);
    })();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<script id="dsq-count-scr" src="//gindachen.disqus.com/count.js" async></script>

gindachen.github.io's People

Contributors

gindachen avatar reorx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.