woodwm / woodfly

Personal website

Home Page:https://www.woodfly.ml/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Personal website for wood

Netlify Status

A Hugo boilerplate for creating truly epic websites

Generated by Hugo and Deployed by netlify.

Managed by Netlify CMS

Use Hugo Themes with Netlify

See more in Hogo website.

use git subsubmodule like

cd themes
git submodule add https://github.com/<THEMECREATOR>/<THEMENAME>

Add netlify CMS

After changing a theme, need to

  1. Add the Netlify Identity Widget

add this to head tag of /admin/index.html, as well as the head of your site's main index page.

<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>

add the following script before the closing body tag of your site's main index page

<script>
  if (window.netlifyIdentity) {
    window.netlifyIdentity.on("init", user => {
      if (!user) {
        window.netlifyIdentity.on("login", () => {
          document.location.href = "/admin/";
        });
      }
    });
  }
</script>

Enjoy!!

License

MIT

About

Personal website

https://www.woodfly.ml/


Languages

Language:HTML 93.9%Language:CSS 6.1%