An open API service indexing awesome lists of open source software.

https://github.com/phocks/simple-article-takeover

Takeover PL pages
https://github.com/phocks/simple-article-takeover

Last synced: 11 months ago
JSON representation

Takeover PL pages

Awesome Lists containing this project

README

          

# simPLe-article-takeover

Take over PL (Presentation Later) articles full-width with a single `div`.

eg.

## Usage

In console:

```bash
$ npm install simple-article-takeover
```

In JS:

```javascript
import takeover from "simple-article-takeover"

// In an async function
await takeover()
// ... other stuff happens

// Can set a custom class on the div
or await takeover({ addClass: "article-container" })
```

NOTE: Doesn't seem to work anymore on Presentation Layer running Next.js