diff options
-rw-r--r-- | README.md | 5 | ||||
-rwxr-xr-x | exampleSite/data/homepage.yml | 7 | ||||
-rw-r--r-- | layouts/partials/contact.html | 2 | ||||
-rw-r--r-- | layouts/partials/experience.html | 4 | ||||
-rw-r--r-- | layouts/partials/head.html | 2 | ||||
-rw-r--r-- | layouts/partials/showcase.html | 4 |
6 files changed, 17 insertions, 7 deletions
@@ -5,6 +5,9 @@ A free Hugo Theme by Radity: Modern, Fast, Fresh and of course responsive. Demo: https://raditian-hugo.radity.com +If you are using this theme, let us know at team@radity.com and we will tweet about it. + + <img src="https://raditycmswebsite-live-5f5ab2ec57ec4907b-b52c0bb.divio-media.net/filer_public/73/76/7376fcbd-46ff-4e8b-85b6-e4f9175658ad/01_-_mainpage_exportable_copy_31x_2.png" width="100%" alt="raditian-free-hugo-theme"> ## Download @@ -19,4 +22,4 @@ Demo: https://raditian-hugo.radity.com ## Support -If you have any problem please do not hesitate to [contact us](https://radity.com/en/contact/).
\ No newline at end of file +If you have any problem please do not hesitate to [contact us](https://radity.com/en/contact/). diff --git a/exampleSite/data/homepage.yml b/exampleSite/data/homepage.yml index 86ce132..956f397 100755 --- a/exampleSite/data/homepage.yml +++ b/exampleSite/data/homepage.yml @@ -1,3 +1,7 @@ +# homepage +homepage: + head: + title: "Home | Raditian" # showcase showcase: enable: true @@ -5,9 +9,11 @@ showcase: subtitle: "Front-End Developer" description: "I work at <a target='_blank' href='https://radity.com/'>Radity</a>, a software development company in Switzerland. And I am a Raditian. You get the idea where theme name comes from. Keep cool, stay in touch. You can download this theme from <a target='_blank' href='https://github.com/radity/raditian-free-hugo-theme'>github</a>." image: + alt: "Showcase keyboard and mouse image" x: "img/showcase/showcase.png" _2x: "img/showcase/showcase@2x.png" imageMobile: + alt: "Showcase keyboard and mouse image" x: "img/showcase/showcase-mobile.jpg" button: @@ -209,6 +215,7 @@ contact: enable: true title: "Contact" form: + method: "POST" action: "#" full_name: "Full Name" email: "Email Address" diff --git a/layouts/partials/contact.html b/layouts/partials/contact.html index 0725c2c..849063e 100644 --- a/layouts/partials/contact.html +++ b/layouts/partials/contact.html @@ -5,7 +5,7 @@ <h2>{{ .Site.Data.homepage.contact.title }}</h2> <div class="row pt-2"> <div class="col-12 col-lg-7"> - <form action="{{ .Site.Data.homepage.contact.form.action }}"> + <form action="{{ .Site.Data.homepage.contact.form.action }}" method="{{ .Site.Data.homepage.contact.form.method }}"> <div class="row"> <div class="col-12 col-sm-6"> <input type="text" name="" id="full_name" diff --git a/layouts/partials/experience.html b/layouts/partials/experience.html index 4b9b255..5627a9a 100644 --- a/layouts/partials/experience.html +++ b/layouts/partials/experience.html @@ -1,5 +1,5 @@ {{ if .Site.Data.homepage.experience.enable }} -<section class="section section--border-bottom rad-animation-group"> +<section id="experience" class="section section--border-bottom rad-animation-group"> <div class="container"> <div class="row flex-column-reverse flex-md-row rad-fade-down"> <div class="col-12 col-sm-6 mt-5 mt-sm-0"> @@ -21,7 +21,7 @@ <i class="{{ .Site.Data.homepage.experience.button.icon }}"></i> {{ .Site.Data.homepage.experience.button.btnText }} <i class="icon-arrow-right"></i></a> - <a href="{{ .Site.Data.homepage.experience.button.URL | absURL }}" class="btn btn-frameless" + <a href="{{ .Site.Data.homepage.experience.button2.URL | absURL }}" class="btn btn-frameless" target="_blank"> <i class="{{ .Site.Data.homepage.experience.button2.icon }}"></i> {{ .Site.Data.homepage.experience.button2.btnText }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 201129f..a94774e 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -20,7 +20,7 @@ </script> <!-- End Google Tag Manager --> <!-- endinject --> -<title>Home | Raditian</title> +<title>{{ .Site.Data.homepage.head.title }}</title> <style> /* Fade In animation triggering after font load or 3s timeout */ .rad-fade-in { diff --git a/layouts/partials/showcase.html b/layouts/partials/showcase.html index 9a18338..a8ea984 100644 --- a/layouts/partials/showcase.html +++ b/layouts/partials/showcase.html @@ -6,7 +6,7 @@ src="data:image/gif;base64,R0lGODlhBwACAIAAAP///wAAACH5BAEAAAEALAAAAAAHAAIAAAIDjI9YADs=" data-src="{{ .Site.Data.homepage.showcase.image.x | absURL }}" data-srcset="{{ .Site.Data.homepage.showcase.image.x | absURL }} 1x, {{ .Site.Data.homepage.showcase.image._2x | absURL }} 2x" - alt="Showcase keyboard and mouse image" + alt="{{ .Site.Data.homepage.showcase.image.alt }}" /> </div> <div class="container"> @@ -46,7 +46,7 @@ class="lozad img-responsive" src="data:image/gif;base64,R0lGODlhBwACAIAAAP///wAAACH5BAEAAAEALAAAAAAHAAIAAAIDjI9YADs=" data-src="{{ .Site.Data.homepage.showcase.imageMobile.x | absURL }}" - alt="Showcase keyboard and mouse image" + alt="{{ .Site.Data.homepage.showcase.imageMobile.alt }}" /> </div> </section> |