@repo.format_nr_branches(ctx.lang)
@if repo.user_id == ctx.user.id
+
@end
@if is_top_directory
@if is_top_directory
Clone with HTTPS:
@if is_repo_starred
@else
@end
@if is_repo_watcher
@else
@end
@end
@end
@if has_commits && repo.lang_stats.len > 0
.lang-stats-header {
.langs {
@for stat in repo.lang_stats
.lang-stat {
@stat.name
@{stat.pct_html()}
}
@end
}
.lang-stats-bar {
@for stat in repo.lang_stats
@end
}
}
@end
@if is_top_files_mode
@else
@if show_folder_size
@end
Top files
Largest @top_files_limit files in @branch_name
@if top_files.len == 0
No files found
@end
@for file in top_files
span.file-ico {
}
span.file-name {
@file.full_path()
}
@file.pretty_size()
@end
@else
@end
.last_commit {
@last_commit.author
span.last_commit_message {
@last_commit.message
}
@last_commit.hash
@if has_ci
@end
span.time {
@last_commit.relative()
}
}
@if can_up
.file {
span.file-ico {
}
span.file-name {
..
}
@if show_folder_size
@end
}
@end
@for file in items
@if readme.len > 0
span.file-ico {
@if file.is_dir
@else
@end
}
span.file-name {
@file.name
}
@file.format_commit_message()
@file.pretty_last_time()
@if show_folder_size
@if file.is_dir
@file.pretty_tree_size()
@else
@file.pretty_size()
@end
@end
@end
@if is_top_directory
@repo.format_size()
@end
@readme
@end
@end
@if is_top_directory