start point of hotlist support (untested)
This commit is contained in:
+17
-9
@@ -6,19 +6,27 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
*}
|
||||
<!-- Featured Conferences -->
|
||||
<!-- Conference Hotlist sidebox -->
|
||||
{{ sb := .GetScratch("__sidebox") }}
|
||||
<div class="mb-4">
|
||||
<div class="bg-blue-600 px-2 py-1 rounded-t">
|
||||
<h3 class="text-white font-bold text-base">Featured Conferences:</h3>
|
||||
<h3 class="text-white font-bold text-base">{{ sb.Title }}:</h3>
|
||||
</div>
|
||||
<div class="bg-blue-400 px-2 py-2 rounded-b">
|
||||
<div class="flex items-center">
|
||||
<span class="mr-2">🟣</span>
|
||||
<div class="text-sm">
|
||||
<a href="http://necrovenice:8080/venice/conf/topics.js.vs?sig=2&conf=2"
|
||||
class="text-blue-700 hover:text-blue-900 font-bold">General Discussion</a>
|
||||
<span class="text-black"> (La Piazza)</span>
|
||||
</div>
|
||||
<div class="space-y-2">
|
||||
{{ if len(sb.Items) > 0 }}
|
||||
{{ range i, item := sb.Items }}
|
||||
<div class="flex items-center">
|
||||
<span class="mr-2">🟣</span>
|
||||
<div class="text-sm">
|
||||
<a href="{{ item.Link }}" class="text-blue-700 hover:text-blue-900 font-bold">{{ item.Text }}</a>
|
||||
<span class="text-black"> ({{ item.Text2 }})</span>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
<div class="text-small">No conferences in hotlist.</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user