Giter Site home page Giter Site logo

dianoetic / indiefeed Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 3.0 455 KB

A static site generator theme for #IndieWeb with support for Webmentions, social readers, POSSE, and IndieAuth.

License: MIT License

HTML 49.19% CSS 23.73% JavaScript 27.08%
indieweb webmention webmentions posse readers indieauth static-site-generator hugo-theme hugo

indiefeed's Introduction

IndieFeed

A Hugo theme for the independent web.

If you're like, (β˜‰_β˜‰) "What do all these funny words mean?" Don't worry! Read the explainer.

Screenshots

Getting Started

If you are new to the Hugo framework, fret not! It's a very popular and friendly static site generator. Check out the quickstart to create your site, then:

  1. Add this theme to your site
  2. Update your config.{toml, yaml, json}
  3. Join the IndieWeb community with your own independent site!

1. Add this theme

To add this theme to your Hugo site, run this from the root directory:

git submodule add https://github.com/dianoetic/indiefeed.git themes/indiefeed

2. Update your config

Copy the example configuration file to your root directory and update settings as needed.

Be sure to replace each example or example.com with your own domain!

3. Welcome to #indieweb! πŸŽ‰

Add some content and deploy your site! You can deploy automatically with any of these:

Once your site is deployed, you may also like to:

Categories

IndieFeed will conditionally display aspects of posts depending on the category you put in your front matter:

  • note: no title displayed
  • reply: displays title, reply icon, and includes reply markup for h-entry
  • Anything else: displays title

Preview and Validation

Serve your site locally using Hugo's development server: hugo server. See Hugo server docs for options.

Validate your h-card with IndieWebify.me.

Preview your h-feed with Monocle's preview tool.

Alternative feeds (custom output formats) can be configured in config.yaml. See the example configuration for... well, examples.

Atom and RSS can be validated with the W3C Feed Validation Service.

Customizing

Add your own CSS styles with the following setting in your config.{toml, yaml, json}:

params:
  customCSS: css/style.css # relative to ./static/

Any CSS in ./static/css/style.css will override theme defaults.

Choose a syntax highlighting theme with this setting:

markup:
  highlight:
    style: dracula

You can also override any templates by placing replacements with the same names in your ./layouts/ directory.

Contributions

Yes! All the things! ヽ(*^β–½^)οΎ‰

indiefeed's People

Contributors

dianoetic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.