This repository it based on the Academic Theme Hugo. It has been integrated with NetlifyCMS and the following content has been added:
- Posts
- Publications
- Projects
- Teaching
- Contact
- Talks
In addition, pages for the managments of the CMS' sections.
- Global configuration
- About
- Contact
- Posts
- Projects
- Publications
- Publications selected
- Tags
- Teaching
The original template has been modified in order to match with the structure of pictures of Netlify CMS (almost all the changes are related to images path in the partials of the theme)
If you want to deploy this in NetlifyCMS easily, follow the next steps:
- Deploying this repository in NetlifyCMS
-
Enable Identity service and Git Gateway
-
Add postprocessing script for admin zone access
- Insert this before end of head:
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
- Insert this code before end of body:
<script>
if (window.netlifyIdentity) {
window.netlifyIdentity.on("init", user => {
if (!user) {
window.netlifyIdentity.on("login", () => {
document.location.href = "/admin/";
});
}
});
}
</script>
- Give access to users
5 Confirm email and set password
-
Access to your new site admin page with /admin
-
In this section you can start editing your site
- Bugs in the talks section
- Check carefully all fields
Thanks a lot to :
- Blog of @ragasirtahk --> Blog
- People of NetlifyCMS Gitter channel