1
1
mirror of https://github.com/go-gitea/gitea synced 2024-06-22 19:25:47 +00:00
gitea/routers
Nicholas Pease c090f87a8d
Add Gitea Profile Readmes (#23260)
Implements displaying a README.md file present in a users ```.profile```
repository on the users profile page. If no such repository/file is
present, the user's profile page remains unchanged.

Example of user with ```.profile/README.md```

![image](https://user-images.githubusercontent.com/34464552/222757202-5d53ac62-60d9-432f-b9e3-2537ffa91041.png)

Example of user without ```.profile/README.md```

![image](https://user-images.githubusercontent.com/34464552/222759972-576e058b-acd4-47ac-be33-38a7cb58cc81.png)

This pull request closes the feature request in #12233 

Special thanks to @techknowlogick for the help in the Gitea discord!

---------

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Yarden Shoham <hrsi88@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: yp05327 <576951401@qq.com>
Co-authored-by: Yarden Shoham <git@yardenshoham.com>
2023-05-09 05:57:24 +00:00
..
api Filters for GetAllCommits (#24568) 2023-05-09 09:06:05 +08:00
common Improve template system and panic recovery (#24461) 2023-05-04 14:36:34 +08:00
install Improve template system and panic recovery (#24461) 2023-05-04 14:36:34 +08:00
private Refactor web route (#24080) 2023-04-20 14:49:06 -04:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web Add Gitea Profile Readmes (#23260) 2023-05-09 05:57:24 +00:00
init.go Use globally shared HTMLRender (#24436) 2023-04-30 08:22:23 -04:00