Skip to content

Commit

Permalink
remove phone number
Browse files Browse the repository at this point in the history
  • Loading branch information
Sofyan Hadi Ahmad committed Dec 20, 2018
1 parent a5cc0cc commit ff6e3b6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 13 deletions.
1 change: 0 additions & 1 deletion data/contact.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
email: '[email protected]'
phone: '+6281803698298'
businessName: 'Magishift'
address: ''
11 changes: 4 additions & 7 deletions layouts/contact/contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,17 @@ <h1>{{ .Title }}</h1>
<div class="col-12 col-md-8">
{{ .Content }}
<ul>
<li><strong>Phone / WhatsApp: </strong>{{ .Site.Data.contact.phone }}</li>
<li>
<strong>Email: </strong
><a href="mailto:{{ .Site.Data.contact.email }}">
{{ .Site.Data.contact.email }}</a
>
<strong>Email: </strong><a href="mailto:{{ .Site.Data.contact.email }}">
{{ .Site.Data.contact.email }}</a>
</li>
{{ if .Site.Data.contact.address }}

<li><strong>Address: </strong>{{ .Site.Data.contact.address }}</li>

{{ end }}
{{end}}
</ul>
</div>
</div>
</div>
{{ end }}
{{ end }}
3 changes: 0 additions & 3 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
<div class="container pt-2">
<div class="call">
<div class="call-box-top">
<div class="call-phone">
<strong>Phone: </strong> {{ .Site.Data.contact.phone }}
</div>
<div class="call-email">
<strong>Email: </strong>
<a href="mailto:{{ .Site.Data.contact.email }}">
Expand Down
1 change: 0 additions & 1 deletion layouts/partials/sub-footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<div class="col-12">
<div class="sub-footer">
<ul>
<li><strong>Phone: </strong>{{ .Site.Data.contact.phone }}</li>
<li>
<strong>Email: </strong
><a href="mailto:{{ .Site.Data.contact.email }}">
Expand Down

0 comments on commit ff6e3b6

Please sign in to comment.