Back to top

Repositories - Github

Display user repositories from Github.

Last updated on: 20/09/2021

Highly customizable open source theme for Hugo based static websites

torproxy
Last updated on: 19/06/2021

Caddy plugin to enable easy web to tor proxying

syna-start
Last updated on: 20/08/2021

Clonable starter repository for a Syna theme based website

reposeed
Last updated on: 04/05/2020

Extensive repository base files up and running in an instant

Code
fragment = "repositories_github"
weight = 100
background = "secondary"

user = "okkur"
count = 4 # default is 4
display_forks = false # default is false
sort = "stargazers_count" # default is "stargazers_count"
# allowlist = ["syna", "syna-start"]
+++

Documentation

Variables

user

type: string

The username of the user you want the repositories of.

count

type: number default: 4

The number of repositories that will be rendered.

display_forks

type: boolean
default: false

Determines whether or not forked repositories will be shown.

sort

type: string default: stargazers_count

This key is used to sort the repositories.

Note: This value is a key from the response of Github’s repositories API. Also the sort is done using Hugo’s sort function.

allowlist

type: array of string

A filter that is applied to repository names. Only repositories that are named in this list will be rendered.

Global variables are documented as well and have been omitted from this page.