The source code for my website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Shreyas Minocha ea643ff302
Remove invalid roles from svg files
19 hours ago
archetypes Improve blog archetype 8 months ago
content Remove old pgp keys 3 days ago
layouts Disable hugo pipelines 2 weeks ago
static Remove invalid roles from svg files 18 hours ago
.eslintignore Add gulp 1 year ago
.eslintrc.yml Use a data attribute to track theme 7 months ago
.gitignore Ignore blogpost graveyard 2 weeks ago
.stylelintrc.yml Add gulp 1 year ago
config.yml Ignore blogpost graveyard 2 weeks ago
gulpfile.js Show file sizes in gulp output 1 year ago
license.md Update licenses 2 months ago
netlify.toml Remove www rule from netlify redirects 8 months ago
package-lock.json Fix vulns via `npm audit fix` 7 months ago
package.json Fix vulns via `npm audit fix` 7 months ago
readme.md Update licenses 2 months ago
robots.txt Add /dev/null 8 months ago

readme.md

shreyasminocha.me

Source code for my personal website. Built using hugo.

Netlify Status

Structure

  • archetypes: files with standard frontmatter for each collection.
  • content: blog posts, about page, other collections.
  • layout
    • _default: templates that specify how content will be rendered to static pages.
    • partials: small re-usable portions portions meant to reduce duplication across layouts.
    • shortcodes: similar to partials but meant for reuse within content.
  • static: static files—images, stylesheets, scripts, fonts etc
  • config.yml

Testing

Running a server for development

hugo serve -p <port> --disableLiveReload --noHTTPCache --buildDrafts

I personally use hotel for managing development servers, so after

hotel add --name shreyasminocha 'hugo serve -p $PORT --disableLiveReload --noHTTPCache --buildDrafts'

…and some configuration, I can access my local dev server at shreyasminocha.localhost.

Running linters

Install dev dependencies:

npm install

Run tests with:

npm test # Currently just runs `gulp`

Or more specifically, assuming you have gulp installed globally, run it with:

gulp

Deployments

Deployments are made using Netlify which is configured through netlify.toml.

License

Source code is licensed under the MIT license.

Website content (including blog posts) is licensed under Attribution-ShareAlike 4.0 International.