Skip to content

Commit

Permalink
- instagram landing page fix
Browse files Browse the repository at this point in the history
- contatti form - deviazione pagina
  • Loading branch information
npari authored and npari committed May 16, 2020
1 parent 98074ee commit d1879a3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -117,5 +117,5 @@ paginate = 7
instagram = "npmelano"
youtube = "UCz_ZsgGRbD4tC8_-4Ni78hQ"
rss = true
contatti = "email/"
contatti = "mailto:email@nparisi.com" #"email/"
telegram = "nparisi"
13 changes: 7 additions & 6 deletions layouts/page/instagram-hi.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,23 @@ <h1 class='entry-title'> {{ .Title }}</h1>
</p>

<div style="display:grid; justify-content: center;">

{{$mysection := (where .Site.Pages "Type" "article") }}
{{ range first 1 $mysection }}
<a href="{{ .RelPermalink | absURL }}" class="button green margin-right">Ultimo post</a>
{{ end }}

<a href="{{ "tags/travel/" | absURL }}" class="button orange margin-left">Viaggi</a>
<a href="{{ "/" | absURL }}" class="button brown margin-left">Home</a>

<a href="{{ "accessori/" | absURL }}" class="button light-blue margin-right">Accessori</a>
<a href="{{ "tags/travel/" | absURL }}" class="button orange margin-right">Viaggi</a>

<a href="{{ "libreria/" | absURL }}" class="button yellow margin-left">Libreria</a>
<a href="{{ "accessori/" | absURL }}" class="button light-blue margin-left">Accessori</a>

<a href="https://www.youtube.com/channel/{{ .Site.Params.social.youtube }}" class="button red margin-right">YouTube</a>
<a href="{{ "libreria/" | absURL }}" class="button yellow margin-right">Libreria</a>

<a href="https://instagram.com/{{ .Site.Params.social.instagram }}" class="button plumb margin-left">Instagram</a>
<a href="https://www.youtube.com/channel/{{ .Site.Params.social.youtube }}" class="button red margin-left">YouTube</a>

<a href="https://instagram.com/{{ .Site.Params.social.instagram }}" class="button plumb margin-right">Instagram</a>

</div>

Expand Down
2 changes: 2 additions & 0 deletions static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@
.instagram-hi .button.red:hover { background-color: #b91e13; }
.instagram-hi .button.plumb { background-color: #bfcac4; }
.instagram-hi .button.plumb:hover { background-color: #82978b; }
.instagram-hi .button.brown { background-color: #d4b4a8; }
.instagram-hi .button.brown:hover { background-color: #bc8976; }
.instagram-hi .margin-left { }
.instagram-hi .margin-right { }

Expand Down

0 comments on commit d1879a3

Please sign in to comment.