# Homepage Layout

**Personal** supports customizing **Homepage Layout** in your publication. There are **15 settings**, **3** for each section:

1. <mark style="background-color:orange;">**First section tag or title**</mark>
2. <mark style="background-color:green;">**First section layout type**</mark>
3. <mark style="background-color:purple;">**First section posts count or text**</mark>
4. <mark style="background-color:orange;">**Second section tag or title**</mark>
5. <mark style="background-color:green;">**Second section layout type**</mark>
6. <mark style="background-color:purple;">**Second section posts count or text**</mark>
7. <mark style="background-color:orange;">**Third section tag or title**</mark>
8. <mark style="background-color:green;">**Third section layout type**</mark>
9. <mark style="background-color:purple;">**Third section posts count or text**</mark>
10. <mark style="background-color:orange;">**Fourth section tag or title**</mark>
11. <mark style="background-color:green;">**Fourth section layout type**</mark>
12. <mark style="background-color:purple;">**Fourth section posts count or text**</mark>
13. <mark style="background-color:orange;">**Fifth section tag or title**</mark>
14. <mark style="background-color:green;">**Fifth section layout type**</mark>
15. <mark style="background-color:purple;">**Fifth section posts count or text**</mark>

## <mark style="background-color:orange;">First/Second/Third/Fourth/Fifth section tag or title</mark>

This setting specifies the **tag** that filters which posts are displayed in this section, or defines the section's **title**. It also has 2 additional options -  '**show-latest-posts**' and '**show-featured-posts**'.

<mark style="background-color:blue;">**show-latest-posts**</mark>

By entering '**show-latest-posts**' in this setting, the section will display 4 posts in order of their publication date.

{% hint style="danger" %}
Be sure that you have **only one 'show-latest-posts' section** on your home page!
{% endhint %}

<mark style="background-color:blue;">**show-featured-posts**</mark>

If you enter '**show-featured-posts**' in this setting, the section will display only **featured** posts without filtering them by tag. You can choose how many posts to show with [**First/Second/Third/Fourth/Fifth section posts count or text**](#first-second-third-fourth-fifth-section-posts-count-or-text) setting.

### tag

Enter the **slug** of the **tag** whose posts you want to show in this section.&#x20;

<figure><img src="https://570087162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwvffoSogkWPRht0dQCRD%2Fuploads%2Fo4N2hu8uvLd75It9Rtha%2Ffirst%20section.png?alt=media&#x26;token=9f1b6640-b51d-4e33-aa6b-57e824ed8ccb" alt=""><figcaption></figcaption></figure>

### title

Enter the **title** for the section.

<figure><img src="https://570087162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwvffoSogkWPRht0dQCRD%2Fuploads%2FmvinadJm3QoquRaidYJM%2Ftitle%20setting.JPG?alt=media&#x26;token=0965029f-27c2-4a24-aea9-e922f2977d39" alt=""><figcaption></figcaption></figure>

### **To customize:**

* Go to **Settings > Design & branding** from the admin menu
* Click **Homepage** in the **Design** settings sidebar on the right
* Find **First section tag/Second section tag/Third section tag/Fourth section tag/Fifth section tag** menu items
* Enter the **tag slug** to display posts in the first, second, third, fourth or fifth section. Alternatively, enter **title** or '**show-featured-posts**' or '**show-latest-posts**'.

***

This setting is responsible for the appearance of posts in the section. It has **9 options:**

1. **None**
2. **Hero**
3. **Hero with subscribe**
4. **Hero with author**
5. **Hero with author and subscribe**
6. **Work experience**
7. **Membership**
8. **Projects**
9. **Posts**

### **To customize:**

* Go to **Settings > Design & branding** from the admin menu.
* Click **Homepage** in the **Design** settings sidebar on the right.
* Find **First section layout type/Second section layout type/Third section layout type/Fourth section layout type/Fifth section layout type** menu items.
* **Choose** your preferred layout type for each section.

### "None" Option

{% hint style="danger" %}

### Choosing the "None" Option

If you prefer not to display any posts in any of the sections, it's necessary to select the **"None"** option for that particular section's layout type. This prevents the loading of unnecessary code, thereby enhancing the website's performance.&#x20;
{% endhint %}

### Hero

This section displays **hero title** and **hero text** that you added in <mark style="background-color:orange;">**First/Second/Third/Fourth/Fifth section tag or title**</mark> and <mark style="background-color:purple;">**First/Second/Third/Fourth/Fifth section posts count or text.**</mark>

<figure><img src="https://570087162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwvffoSogkWPRht0dQCRD%2Fuploads%2Fn3kHk3O6eIqbr3mJCX73%2Fhero.JPG?alt=media&#x26;token=45800b73-067b-4ebf-8c74-1c7c840f1aa1" alt=""><figcaption><p>Hero</p></figcaption></figure>

### Hero with subscribe&#x20;

This section displays **hero title** and **hero text** that you added in the <mark style="background-color:orange;">**First/Second/Third/Fourth/Fifth section title**</mark> and <mark style="background-color:purple;">**First/Second/Third/Fourth/Fifth section posts count**</mark>. Additionally, include an input field with a subscribe button.

<figure><img src="https://570087162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwvffoSogkWPRht0dQCRD%2Fuploads%2FUqjAhd02zFVBhJ8od32j%2Fhero-2.JPG?alt=media&#x26;token=0059bdcc-58f6-4765-a5c8-bfd1ec2c2e3f" alt=""><figcaption><p>Hero with subscribe</p></figcaption></figure>

### Hero with author

This section displays the **hero title** and **hero text** from the <mark style="background-color:orange;">**First/Second/Third/Fourth/Fifth section tag or title**</mark> and the <mark style="background-color:purple;">**First/Second/Third/Fourth/Fifth section posts count or text**</mark>. Additionally, it includes the author's name with an image.

<figure><img src="https://570087162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwvffoSogkWPRht0dQCRD%2Fuploads%2FHdEFn0IRasQSNgM7TfPL%2Fhero-with-author.JPG?alt=media&#x26;token=c5a401c6-6fae-4f39-9f3d-c76b370592cf" alt=""><figcaption><p>Hero with author</p></figcaption></figure>

### Hero with author and subscribe

This section displays **hero title** and **hero text** that you added in <mark style="background-color:orange;">**First/Second/Third/Fourth/Fifth section tag or title**</mark> and <mark style="background-color:purple;">**First/Second/Third/Fourth/Fifth section posts count or text**</mark>.  It also includes the author's name, an image, and a subscription input field with a subscribe button.

<figure><img src="https://570087162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwvffoSogkWPRht0dQCRD%2Fuploads%2FBzHwEuagdBHaFnekHgmI%2Fhero-with-author-and-subscribe.JPG?alt=media&#x26;token=95efe05b-d85b-4e5c-957d-a68b18d69889" alt=""><figcaption><p>Hero with author and subscribe</p></figcaption></figure>

### Work experience

This section displays work experience

<figure><img src="https://570087162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwvffoSogkWPRht0dQCRD%2Fuploads%2FBZwgv0DagELivlYQcjW2%2Fwork-exp.JPG?alt=media&#x26;token=7030c53d-b256-4d76-9f6f-9f7317b051dc" alt=""><figcaption><p>Work experience</p></figcaption></figure>

#### To add work experience, you need:

* Create internal tag **#work-experience**
  * Go to **Tags** and create **new tag** with name **#work-experience**.
* Go to **Pages.** Create **New Page** and add tag **#work-experience** for this page
* In **page editor,** choose **HTML**

  <figure><img src="https://570087162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwvffoSogkWPRht0dQCRD%2Fuploads%2Fmye1zbPEouP329jA1t4G%2Fpage%20editor.JPG?alt=media&#x26;token=87d26b99-4b6e-4ec8-934d-fee1602c3785" alt=""><figcaption><p>Page editor</p></figcaption></figure>
* **Copy** this **HTML template** and fill the lines: "JOB\_TITLE", "WORK\_EXPERIENCE\_TIME", "COMPANY\_NAME", "WORK\_EXPERIENCE\_DESCRIPTION"

  ```html
  <div class="work-card" data-aos="fade-up" style="--i: CARD NUMBER" data-aos-anchor="#work-experience-section-SECTION-NUMBER">
      <div class="work-card__positions">
          <span class="work-card__position">JOB_TITLE</span>
      </div>

      <div class="work-card__experience">
          <div class="work-card__accordion">
              <div class="work-card__accordion-header">
                  <span class="work-card__time">WORK_EXPERIENCE_TIME</span>
                  <span class="work-card__company-name">COMPANY_NAME</span>
              </div>
              <button class="work-card__accordion-btn-wrapper" aria-label="Open work experience description">
                    <span class="work-card__accordion-btn"></span>
                    <span class="work-card__accordion-btn"></span>
              </button>
          </div>
          <p class="work-card__description">
             WORK_EXPERIENCE_DESCRIPTION
          </p>
      </div>
  </div>
  ```

{% hint style="info" %}
You can add several "JOB\_TITLE", just copy the line and change the job title.

Update the `style="--i: CARD_NUMBER"` attribute so that the card numbering starts at 0

&#x20;(e.g., `style="--i: 0"`).

Update the `data-aos-anchor="#work-experience-section-SECTION-NUMBER"`  attribute to start section numbering at 0 instead of 4. For example, the first section should use `data-aos-anchor="#work-experience-section-0"`**.**

```html
Example
<div class="work-card" data-aos="fade-up" style="--i: 0" data-aos-anchor="#work-experience-section-3">
    <div class="work-card__positions">
        <span class="work-card__position">Digital Marketing Specialist</span>
    </div>
    <div class="work-card__experience">
        <div class="work-card__accordion">
          <div class="work-card__accordion-header">
            <span class="work-card__time">2022 — Present</span>
            <span class="work-card__company-name">Creatify Digital</span>
          </div>
          <button class="work-card__accordion-btn-wrapper" aria-label="Open work experience description">
              <span class="work-card__accordion-btn"></span>
              <span class="work-card__accordion-btn"></span>
          </button>
        </div>
        <p class="work-card__description">
            I am a digital marketing specialist at Creatify Digital, where I create and implement data-driven marketing strategies to boost online presence and drive sales for clients. 
        </p>
    </div>
</div>
```

{% endhint %}

### Membership

This section presents your publication's membership tiers cards.

<figure><img src="https://570087162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwvffoSogkWPRht0dQCRD%2Fuploads%2FM8eOqIB4C1lgiuOzrxFb%2FMembership.jpg?alt=media&#x26;token=f9c5ea07-66c7-4d42-823a-be3ad03c9374" alt=""><figcaption><p>Membership section</p></figcaption></figure>

### Projects

This section presents your projects with title that you added in <mark style="background-color:orange;">**First/Second/Third/Fourth/Fifth section tag or title.**</mark>

**To add project in this section, need:**

* Create internal tag **#project**
  * Go to **Tags** and create **new tag** with name **#project.**
* Go to **Posts.** Create **New Post** and add tag **#project** for this post.

<figure><img src="https://570087162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwvffoSogkWPRht0dQCRD%2Fuploads%2FCJjfXEmwfZMr1GHRin35%2FWorks.jpg?alt=media&#x26;token=135c013c-6e2a-402e-90d0-e0090a15ef7a" alt=""><figcaption><p>Projects section</p></figcaption></figure>

### Posts

This section displays posts related to your selected tag.

<figure><img src="https://570087162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwvffoSogkWPRht0dQCRD%2Fuploads%2FliTLHKpNbu3KxQpkBXgW%2FReasoning.jpg?alt=media&#x26;token=40cb18c5-97cb-46b1-b14d-58a2ec0166a4" alt=""><figcaption><p>Posts section</p></figcaption></figure>

## <mark style="background-color:purple;">**First/Second/Third/Fourth/Fifth section posts count or text**</mark>

This setting is responsible for the **number of posts** displayed in the **posts** and **projects** section.&#x20;

In the work experience and membership section, the post count or text settings are non-functional and can be left blank.

### Load more button in posts section

If the setting <mark style="background-color:orange;">First/Second/Third/Fourth/Fifth section tag or title</mark> includes "show-latest-posts", then set the "<mark style="background-color:purple;">**First/Second/Third/Fourth/Fifth section posts count or text**</mark> option to "load-more".

<figure><img src="https://570087162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwvffoSogkWPRht0dQCRD%2Fuploads%2FNsaHHnAVfgjE8opgqW6j%2Fload-more.JPG?alt=media&#x26;token=ea625887-509b-4d86-9712-1420de9f5a35" alt=""><figcaption><p>Posts settings</p></figcaption></figure>

<figure><img src="https://570087162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwvffoSogkWPRht0dQCRD%2Fuploads%2FGni6S8JvVCQtmqSUeVqA%2FReasoning.jpg?alt=media&#x26;token=7a48369a-fecf-4210-8d38-7924cee5859c" alt=""><figcaption><p>Posts section with load more button</p></figcaption></figure>
