Usuń 'newsaggtemplate.html'
This commit is contained in:
parent
2cad5c9f1b
commit
2fbb27f189
@ -1,30 +0,0 @@
|
|||||||
<head>
|
|
||||||
<script type="text/javascript" charset="utf8" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
|
|
||||||
<link rel="stylesheet" type="text/css" href="//cdn.datatables.net/1.10.16/css/jquery.dataTables.css">
|
|
||||||
<script type="text/javascript" charset="utf8" src="//cdn.datatables.net/1.10.16/js/jquery.dataTables.js"></script>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<h1>{{.Title}}</h1>
|
|
||||||
|
|
||||||
<table id="fancytable" class="display">
|
|
||||||
<col width="35%">
|
|
||||||
<col width="65%">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th>Title</th>
|
|
||||||
<th>Keywords</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
{{ range $key, $value := .News }}
|
|
||||||
<tr>
|
|
||||||
<td><a href="{{ $value.Location }}" target='_blank'>{{ $key }}</td>
|
|
||||||
<td>{{ $value.Keyword }}</td>
|
|
||||||
</tr>
|
|
||||||
{{ end }}
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<script>$(document).ready(function() {
|
|
||||||
$('#fancytable').DataTable();
|
|
||||||
} );</script>
|
|
Loading…
Reference in New Issue
Block a user