tethys/resources/views/frontend/sitelink/index.blade.php

57 lines
2.2 KiB
PHP
Raw Normal View History

@extends('layouts.app')
2018-08-06 12:30:51 +00:00
@section('content')
<section id="sitelinks" class="normal u-full-width">
<div class="container">
<div class="row">
<div class="twelve columns">
<div class="content">
<h1 class="title">Sitelinks for Web Crawlers</h1>
2018-08-06 12:30:51 +00:00
<span>
<?php foreach ($years as $year) : ?>
<a title="datasets published in year <?= $year ?>"
href="{{ URL::route('frontend.sitelinks.list',['year' => $year]) }}"><?= $year ?>
</a>
2018-10-04 14:41:29 +00:00
<?php endforeach; ?>
</span>
2018-08-06 12:30:51 +00:00
<div class="posts">
<ol>
<?php foreach ($documents as $document) : ?>
<li>
<div class="post">
<header class="post-header">
<h2 class="post-title">
<a href="{{ URL::route('frontend.dataset.show',['id' =>$document->id]) }}"><?= $document->type; $document->id; ?>
</a>
</h2>
</header>
<div class="blog-meta">
<?= $document->server_date_published->toDayDateTimeString() ?>
</div>
<div class="post-description">
@foreach ($document->authors as $author)
<em>Author: {{ $author->full_name }}</em>
<br />
@endforeach
@foreach ($document->titles as $title)
<em>Main Title: {{ $title->value }}</em>
<br />
@endforeach
</div>
2018-10-04 14:41:29 +00:00
</div>
</li>
<?php endforeach; ?>
</ol>
</div>
</div>
2018-10-04 14:41:29 +00:00
</div>
</div>
2018-08-06 12:30:51 +00:00
</div>
</section>
2018-10-04 14:41:29 +00:00
@endsection