gitscope
← rgit / 0.1.5 / templates/repo/macros/link.html
https://dev.kronoz.win/r/rgit.git
templates/repo/macros/link.html · HTML
Blame Raw
1{%- macro maybe_branch(branch) -%}{% if let Some(branch) = branch %}?h={{ branch }}{% endif %}{%- endmacro -%}
2
3{%- macro maybe_branch_suffix(branch) -%}{% if let Some(branch) = branch %}&h={{ branch }}{% endif %}{%- endmacro -%}