diff options
-rw-r--r-- | exampleSite/content/portfolio/01-item.md | 10 | ||||
-rw-r--r-- | exampleSite/content/portfolio/02-item.md | 10 | ||||
-rw-r--r-- | exampleSite/content/portfolio/03-item.md | 10 | ||||
-rw-r--r-- | exampleSite/content/portfolio/04-item.md | 10 | ||||
-rw-r--r-- | exampleSite/content/portfolio/05-item.md | 10 | ||||
-rw-r--r-- | exampleSite/content/portfolio/06-item.md | 10 | ||||
-rw-r--r-- | layouts/partials/footer/index.html | 2 | ||||
-rw-r--r-- | layouts/partials/portfolio.html | 10 |
8 files changed, 67 insertions, 5 deletions
diff --git a/exampleSite/content/portfolio/01-item.md b/exampleSite/content/portfolio/01-item.md new file mode 100644 index 0000000..e667ad0 --- /dev/null +++ b/exampleSite/content/portfolio/01-item.md @@ -0,0 +1,10 @@ ++++ +description = "Portfolio item description" +thumbnail = "images/pic02.jpg" +image = "images/pic01.jpg" +title = "Portfolio item" +slug = "first-portfolio" +author = "John Smith" +draft = false ++++ +Testing content
\ No newline at end of file diff --git a/exampleSite/content/portfolio/02-item.md b/exampleSite/content/portfolio/02-item.md new file mode 100644 index 0000000..a4e469e --- /dev/null +++ b/exampleSite/content/portfolio/02-item.md @@ -0,0 +1,10 @@ ++++ +description = "Portfolio item description" +thumbnail = "images/pic03.jpg" +image = "images/pic01.jpg" +title = "Portfolio item" +slug = "2-portfolio" +author = "John Smith" +draft = false ++++ +Testing content
\ No newline at end of file diff --git a/exampleSite/content/portfolio/03-item.md b/exampleSite/content/portfolio/03-item.md new file mode 100644 index 0000000..2cfd4f4 --- /dev/null +++ b/exampleSite/content/portfolio/03-item.md @@ -0,0 +1,10 @@ ++++ +description = "Portfolio item description" +thumbnail = "images/pic04.jpg" +image = "images/pic01.jpg" +title = "3 Portfolio item" +slug = "3-portfolio" +author = "John Smith" +draft = false ++++ +Testing content
\ No newline at end of file diff --git a/exampleSite/content/portfolio/04-item.md b/exampleSite/content/portfolio/04-item.md new file mode 100644 index 0000000..0d6d14b --- /dev/null +++ b/exampleSite/content/portfolio/04-item.md @@ -0,0 +1,10 @@ ++++ +description = "Portfolio item description" +thumbnail = "images/pic05.jpg" +image = "images/pic01.jpg" +title = "Portfolio item" +slug = "4-portfolio" +author = "John Smith" +draft = false ++++ +Testing content
\ No newline at end of file diff --git a/exampleSite/content/portfolio/05-item.md b/exampleSite/content/portfolio/05-item.md new file mode 100644 index 0000000..6bffb6c --- /dev/null +++ b/exampleSite/content/portfolio/05-item.md @@ -0,0 +1,10 @@ ++++ +description = "Portfolio item description" +thumbnail = "images/pic06.jpg" +image = "images/pic01.jpg" +title = "Portfolio item" +slug = "5-portfolio" +author = "John Smith" +draft = false ++++ +Testing content
\ No newline at end of file diff --git a/exampleSite/content/portfolio/06-item.md b/exampleSite/content/portfolio/06-item.md new file mode 100644 index 0000000..9b9b0eb --- /dev/null +++ b/exampleSite/content/portfolio/06-item.md @@ -0,0 +1,10 @@ ++++ +description = "Portfolio item description" +thumbnail = "images/pic07.jpg" +image = "images/pic01.jpg" +title = "Portfolio item" +slug = "6-portfolio" +author = "John Smith" +draft = false ++++ +Testing content
\ No newline at end of file diff --git a/layouts/partials/footer/index.html b/layouts/partials/footer/index.html index 9c8827d..b197450 100644 --- a/layouts/partials/footer/index.html +++ b/layouts/partials/footer/index.html @@ -66,7 +66,7 @@ </li> <li> <h3>Mail</h3> - <p><a href="{{ .Site.Params.Contact.email }}">{{ .Site.Params.Contact.email }}</a></p> + <p><a href="mailto:{{ .Site.Params.Contact.email }}">{{ .Site.Params.Contact.email }}</a></p> </li> <li> <h3>Phone</h3> diff --git a/layouts/partials/portfolio.html b/layouts/partials/portfolio.html index 393e5b5..e23932c 100644 --- a/layouts/partials/portfolio.html +++ b/layouts/partials/portfolio.html @@ -4,18 +4,20 @@ <h2>My Portfolio</h2> </header> <div class="row"> + {{ range where .Data.Pages "Type" "portfolio" }} <div class="4u 12u(mobile)"> <section class="box"> - <a href="#" class="image featured"><img src="images/pic02.jpg" alt="" /></a> + <a href="#" class="image featured"><img src="{{ .Params.thumbnail }}" alt="" /></a> <header> - <h3>Ipsum feugiat et dolor</h3> + <h3>{{ .Title }}</h3> </header> - <p>Lorem ipsum dolor sit amet sit veroeros sed amet blandit consequat veroeros lorem blandit adipiscing et feugiat phasellus tempus dolore ipsum lorem dolore.</p> + <p>{{ .Description }}</p> <footer> - <a href="#" class="button alt">Find out more</a> + <a href="{{ .Permalink }}" class="button alt">Find out more</a> </footer> </section> </div> + {{ end }} <div class="4u 12u(mobile)"> <section class="box"> <a href="#" class="image featured"><img src="images/pic03.jpg" alt="" /></a> |