Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anyone implemented a Portfolio page? #374

Open
LucaMoiana opened this issue Nov 24, 2022 · 0 comments
Open

Anyone implemented a Portfolio page? #374

LucaMoiana opened this issue Nov 24, 2022 · 0 comments

Comments

@LucaMoiana
Copy link

LucaMoiana commented Nov 24, 2022

As anyone implemented the Portfolio section of this theme?
I'm trying to mimic the Boostrapious theme, and so I created a list.html page in order to display my portfolio but I couldn't get it to display properly.
Following is my code
Any help will be appreciated

    <div id="content">
        <div class="container">
            <section class="bar">
              <div class="row">
                <div class="col-md-12">
                  <div class="heading">
                    <h2>Portfolio</h2>
                  </div>
                  <p class="lead">Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>
                </div>
              </div>
              <div class="row portfolio text-center">
              {{ range .Pages }}
                <div class="col-md-4">
                  <div class="box-image">
                    <div class="image"><img src="{{ .Params.banner | relURL }}" alt="" class="img-fluid">
                      <div class="overlay d-flex align-items-center justify-content-center">
                        <div class="content">
                          <div class="name">
                            <h3><a href="{{ .Permalink }}" class="color-white">{{ .Title }}</a></h3>
                          </div>
                          <div class="text">
                            <p class="d-none d-sm-block">{{ .Summary }}</p>
                            <p class="buttons"><a href="{{ .Permalink }}" class="btn btn-template-outlined-white">{{ i18n "continueReading" }}</a></p>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
                {{ end }}
                </div>



            </section>
            <!-- /.row -->
        </div>
        <!-- /.container -->
    </div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant