Skip to content

prss-io/blank-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blank

Absolute flexibility. All you need to let your imagination flow.

⚠️ How to use:

When you first build your page with the theme, you'll notice nothing shows up. This is intentional, as it's up to you to use the data to build your layout.

The PRSS Client Library, is already loaded with the Theme. Use its methods to render your content.

Example

Note: For a more detailed example, check out the v1.15.0 release notes.

<script>
  const post = PRSS.getProp("item");

  PRSS.setContent("div.app", `
      <h1>${post.title}</h1>
      <div class="content">
          ${post.content}
      </div>
   `, true);
</script>

image image

Alternatively, you can apply this code to all pages of your site:

image image

About

Blank theme for PRSS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published