Giter Club home page Giter Club logo

learn.siteleaf.com's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

learn.siteleaf.com's Issues

Theme Dev β€” Getting Started

To a designer or novice front-end developer, the current "Getting started" page is extremely intimidating. Sawyer from 3 years ago would have looked at this and done a quick "NOPE". I think all of this content would make more sense in a "Local development" section.

In the "Getting Started" section, I think we can focus on the very basics, like explaining that Siteleaf theme files are just HTML and Liquid. And then offer links to more info on the various ways that you can add themes to Siteleaf:

  • GitHub Sync (I would emphasis this as the preferred method)
  • siteleaf push
  • Upload through the Siteleaf UI

Add a logo

This doesn't really say "Siteleaf"...

Request: Better Examples of Why You'd Use Collections vs Posts

(Not sure if you want this type of thing on here - feel free to move me elsewhere)

As a user first and coder second (or third or fourth), I'd appreciate a better explanation of when and why I might use collections instead of just throwing things into posts.

For a current project we're thinking of using Siteleaf for, I can't figure out which way to go and it feels like the wrong choice could mean a lot of work to fix. Or maybe I'm over-thinking it?

Selfish example: We're a podcast network and have Shows with episodes, hosts (who can be on multiple shows/episodes of shows), guests (who can be on multiple shows/episodes of shows), sponsors (who can be on multiple shows/episodes of shows) and are struggling with how best to organize everything.

Code examples

In addition to #3, sprinkling code examples throughout the docs might be helpful.

For example, on the Meta Fields page, in addition to showing how the meta is outputted in the markdown, it would be helpful to see how you'd access that meta data in your template.

Collection permalinks

This is nitpicky, but now that we have a closer idea of the documentation structure, can we simplify some of the collection's permalinks:

  • users-and-settings -> sites (this is the one that bugs me the most)
  • siteleaf-v2 -> v2
  • managing-content -> content
  • theme-development -> themes

You'll want to do a find-and-replace to make sure any inline links are also updated.

Sass development

Mention something about the _sass/ directory, turning .scss and .sass files into CSS using frontmatter, etc.

Stylize code snippets

Inline code snippets are getting lost amongst the text. We may want to stylize these a bit to improve readability:

Currently:

image

Quick idea:

image

Show status?

I like how the github docs show the current status:

screen shot 2016-05-25 at 3 59 02 pm

Default fields

One of the top questions I get asked is how to add default fields so they show up for all posts. Specifically because they want these fields to show up in the admin by default.

I usually point them to this: https://gist.github.com/sskylar/4a782de7c8d080cf5db6

And mention its okay for default keys to have blank values, and also to take advantage of Smart Field names (which is already mentioned).

Less focus on Jekyll and the filesystem

I'm noticing a lot of the documentation refers to files and directories, but these don't actually matter to Siteleaf.

It's an implementation detail of Jekyll, and I imagine will only confuse the less technical people or those not familiar with Jekyll.

Jekyll plugins

We seem to get asked often about what Jekyll plugins we support. I'm actually not super clear on the answer to this...cc @larryfox @sskylar

Update info on how to receive support

Can probably replace this page with a "Getting Help" document under the "Getting Started" section, explaining how to get support if you're on a paid plan (click the chat button at the bottom of your site in Siteleaf) and provide info on how to join the Slack for community support (provided to all plans)

image

Pretty permalinks

Let's dump the .html in links (soon before we start linking to thinks and have broken links)

Settings info is incorrect

We don't currently offer a permalink field by default

image

Would it be more useful to change "Settings" to "Configuration" and explain how to configure your site using the _config.yml file instead? We could do a brief explaination then link to Jekyll for more info:

We also probably want to show an example of how you access any site metadata you add through the settings page: site.title, site.custom_metadata_key, etc

typo

Just a minor typo on this page: learn.siteleaf.com/_getting-started/siteleaf-for-developers.markdown: "tech-saavy" should be "tech-savvy".

Section landing pages

One thing that's a little odd right now is from the homepage, when you click on one of the top-level sections like "Managing Content", it takes you to "Managing Content" -> "Pages".

Not sure if this is the best solution, but we could instead take you to a "Managing Content" page that lists the subpages, kinda like a table of contents. A nice thing about this is we can link to a top-level page from within the Siteleaf Admin and let the user drill down to the topic they're interested in.

GitHub Sync

This is one big Siteleaf feature that we're not currently touching on. Might worth explaining how it works and how it can make local development easier.

cc #2

Linking to external resources

One thing that's really helpful when looking at documentation on MDN or WordPress is the "Related resources" at the bottom of each of their pages. I think it would be beneficial for us, when there's good related documentation, to link to it from the related page. For example, on our "Theme structure" page, it would be helpful to someone if we linked to Jekyll's "Directory structure" page.

image

image

Advanced: Using your own build server to support custom plugins

This has been asked a couple times on Support/Slack...

If you really need custom plugins, you are welcome to compile the site on your own build server (running Jekyll + any custom code you want).

Here are the basic steps: (this could be expanded to be more helpful)

  1. In your Siteleaf Hosting settings, choose GitHub Pages with format set to "Compile by GitHub Pages" (default setting). Your site will now publish as raw Jekyll files (.markdown instead of .html), and you can choose any branch you'd like (does not need to be gh-pages).
  2. Create a webhook on github.com to alert your build server when this specific branch is updated.

That's it. Now clicking Publish in Siteleaf will trigger your build server which can compile your site and run any custom code you wish.

Note: Siteleaf's built-in Preview will exclude custom plugins, so you may see a slightly different output when using it.

Theme Dev β€” Liquid Reference

This page is pretty unclear to me. I'm not sure what a lot of the content on this page means or when I'd use these attributes. Some code examples or further info would be helpful.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.