extends('master'); $self->header_title = 'flash.moe / projects'; $self->block('container', function($self) { ?> sections as $sectionId => $section): ?>

hasHomePageUrl()) $links[] = ['class' => 'homepage', 'text' => 'Homepage', 'url' => $project->getHomePageUrl()]; if($project->hasSourceUrl()) $links[] = ['class' => 'repository', 'text' => 'Source', 'url' => $project->getSourceUrl()]; if($project->hasDiscussionUrl()) $links[] = ['class' => 'forum', 'text' => 'Discussion', 'url' => $project->getDiscussionUrl()]; $descLines = $project->hasDescription() ? $project->getDescription()->trim()->split("\n") : []; $langs = $self->languages->getByProject($project); if($project->hasColour()) $colour = $project->getColour(); else foreach($langs as $lang) if($lang->hasColour()) { $colour = $lang->getColour(); break; } $colour = str_pad(dechex($colour), 6, '0', STR_PAD_LEFT); ?>

getName();?>
getColour() ?? 0), 6, '0', STR_PAD_LEFT); ?>
getName();?>

hasSummary()): ?>

getSummary();?>

trim(); if($line->isEmpty()) continue; ?>