Skip to content

Commit

Permalink
DEV: Remove default value from sections (#50)
Browse files Browse the repository at this point in the history
This commit removes the default values from the `sections` theme setting
since they are too generic and are not good defaults. The defaults were
useful previously for the old `link_sections` and `links` theme settings
since there was an "implicit" format to follow and the defaults serve as
examples of the format. Now that `sections` is a objects type setting,
there is no need for us to provide any examples.
  • Loading branch information
tgxworld authored Apr 26, 2024
1 parent 1cbe74f commit 6242bac
Showing 1 changed file with 1 addition and 91 deletions.
92 changes: 1 addition & 91 deletions settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,97 +8,7 @@ blurb:

sections:
type: objects
default:
- text: Design
title: Get inspired!
links:
- text: Design process
url: "#"
title: Learn the basics
- text: Blog design
url: "#"
title: What makes for a great blog?
- text: Photoshop tutorials
url: "#"
title: Photoshop for beginners
- text: Design trends
url: "#"
title: Stay on top of the current trends!
- text: Code
title: Learn new things!
links:
- text: Wordpress
url: "#"
title: Wordpress code examples
- text: Tools
url: "#"
title: Tools that will make your life easier!
- text: Tutorials
url: "#"
title: Just starting out? We'll guide you through the basics
- text: Business
title: Start a new career!
links:
- text: Blogging
url: "#"
title: Why not start a blog?
- text: Social media
url: "#"
title: Learn how to leverage Social media and make it work for your business
- text: Make money
url: "#"
title: Everyone likes to be paid!
- text: Marketing
url: "#"
title: No business will survive without customers...Here's how to get'em!
- text: Shop
title: Buy cool stuff!
links:
- text: Vectors
url: "#"
title: buy vectors
- text: Textures
url: "#"
title: buy textures
- text: UI kits
url: "#"
title: buy UI kits
- text: PSDs
url: "#"
title: Ready-made PSD's
- text: Community
title: The latest news about the people you care about!
links:
- text: Your corner
url: "#"
title: Tell us how you feel!
- text: Questions
url: "#"
title: Feel like answering some questions?
- text: Members
url: "#"
title: Say hi to new members
- text: trending
url: "#"
title: Catch up with the latest trending topics!
- text: World
title: Check out what's happening
links:
- text: Politics
url: "#"
title: Stay up to date
- text: Education
url: "#"
title: The latest research
- text: Automotive
url: "#"
title: We cover the latest models!
- text: Sports
url: "#"
title: The latest scores
- text: Tech
url: "#"
title: Never miss a new gadget
default: []
schema:
name: link section
identifier: text
Expand Down

0 comments on commit 6242bac

Please sign in to comment.