diff options
author | Jason Song <i@wolfogre.com> | 2022-11-01 23:41:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-01 23:41:31 +0800 |
commit | 7a8e34b255190d176d3185f0d5049fb93b18adac (patch) | |
tree | 969de5c18fb91be0aeee0737110cdee3ded06675 /custom | |
parent | e4a10f8c78963d8d36a735e53fca55c193c2cc2e (diff) | |
download | gitea-7a8e34b255190d176d3185f0d5049fb93b18adac.tar.gz gitea-7a8e34b255190d176d3185f0d5049fb93b18adac.zip |
Deal with markdown template without metadata (#21639) (#21654)
Backport #21639 .
Fixed #21636.
Related to #20987.
A markdown template without metadata should not be treated as an invalid
template.
And this PR fixed another bug that non-template files(neither .md nor
.yaml) are treated as yaml files.
<img width="504" alt="image"
src="https://user-images.githubusercontent.com/9418365/198968668-40082fa1-4f25-4d3e-9b73-1dbf6d1a7521.png">
Diffstat (limited to 'custom')
0 files changed, 0 insertions, 0 deletions