7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-11-21 22:01:31 +00:00

Simplify homepage

This commit is contained in:
Hugo Peixoto 2021-09-30 02:06:06 +01:00
parent 43536d1959
commit 9d63758fc8
2 changed files with 8 additions and 20 deletions

View File

@ -1,14 +0,0 @@
+++
# About widget.
widget = "about" # See https://sourcethemes.com/academic/docs/page-builder/
headless = true # This file represents a page section.
active = true # Activate this widget? true/false
weight = 20 # Order that this section will appear in.
title = "Apresentação"
# Choose the user profile to display
# This should be the username of a profile in your `content/authors/` folder.
# See https://sourcethemes.com/academic/docs/get-started/#introduce-yourself
author = "ansol"
+++

View File

@ -7,10 +7,6 @@
<div class="col-md-6 order-md-1 text-center text-md-left">
{{ end }}
<!-- <h1 class="hero-title">
{{ with $page.Title }}{{ . | markdownify }}{{ end }}
</h1> -->
{{ with $page.Content }}
<div class="hero-lead">{{ . }}</div>
{{ end }}
@ -58,8 +54,14 @@
{{/* Hero image */}}
{{ if $page.Params.hero_media }}
</div>
<div class="col-6 mx-auto col-md-6 order-md-2 hero-media">
<img src="{{ printf "img/%s" $page.Params.hero_media | relURL }}" alt="">
<div class="col-6 mx-auto col-md-6 order-md-2 hero-media text-left">
<p style="background-color: rgba(0,0,0, .3); padding: 20px">
A “ANSOL - Associação Nacional para o Software Livre” é uma associação
portuguesa sem fins lucrativos que tem como fim a divulgação, promoção,
desenvolvimento, investigação e estudo da Informática Livre e das suas
repercussões sociais, políticas, filosóficas, culturais, técnicas e
científicas.
</p>
</div>
</div>
{{ end }}