WordPress Plugin to embed Gitea Repositories

I ported the WordPress plugin providing shortcodes for embedding Gitlab projects into posts and pages to a Gitea version.

Below is a usage example, displaying the latest 3 commits and the latest release (if any) from repository „linuxfoo-gitea“ on my Gitea instance:

[gitea-show-project url="https://tk-sls.de/git" project_owner=tk-sls.de project_repo=linuxfoo-gitea max=3 releases=latest]
Gitea project linuxfoo-giteaLast 3 commits: by root: 35962433 correct json pat to commit message by root: fccb7dd5 correct message formatting by root: 19f52bfb correct class namesLatest release: v1.0.0

For the demo above the default CSS has been modified as follows:

.linuxfoo_gitea {
  background-color: #121626;
  border-style: solid;
  border-top-width: 1px 2px 3px 1px;
  border-color: #002a39 #001020 #001020 #002a39;
  padding: .2em .5em .1em .5em;
}
.linuxfoo_gitea .commits {
  font-size: smaller;
}
.linuxfoo_gitea .commit {
  color: #cacaca;
  font-family: monospace;
}
Imprint RSS