Modifying Jekyll Theme

Hi

I’m a beginner who is trying to set up a site using Jekyll and I’m currently using a theme that was forked from GitHub.

I like the theme but would like to make minor adjustments to the layout such as the About page. I have no interest in the sections like ‘Project’, ‘Skills’, ‘Bio’ & ‘Education’. I purely just want the ‘About’ section.

  1. How can I remove the unwanted sections?
  2. What should I do with the .yml & .html files of the unwanted sections? Is there a way to keep them still?

I am using the Leonids theme.

Thanks in advance!

#About.html
    ---
    layout: default
    ---
    <div class="row">
        <div class="col l7">
            <div class="row">
                <div class="col">
                    {% include sections/about.html %}
                </div>
            </div>
    
            <div class="row">
                <div class="col">
                    {% include sections/projects.html %}
                </div>
            </div>
        </div>
    
        <div class="col l4 offset-l1">
            <div class="row">
                {% include sections/skills.html %}
            </div>
            <div class="row">
                {% include sections/career.html %}
            </div>
            <div class="row">
                {% include sections/education.html %}
            </div>
        </div>
    
    
    </div>

Removing the {% include %} sections from your templates should stop them being included in your site. You may also want to remove any surrounding HTML too to make sure your template renders correctly when the final content is missing.

For example:

<div class="row">
  <div class="col">
    {% include sections/projects.html %}
  </div>
</div>

As for the files themselves, you can choose to keep them or delete them if you’re not using them elsewhere on your site.