5.13.3 • Published 3 years ago

@mentor-medier/textfile-block v5.13.3

Weekly downloads
178
License
CC-BY-NC-ND-4.0
Repository
github
Last release
3 years ago

@wpmedia/textfile-block

Text File block for Fusion News Theme. This block offers a convenient way to render text files such as ads.txt or robots.txt. It must be used with text output type only, if other output type is selected, it will render nothing.

Acceptance Criteria

  • The content of the custom field Text is the data to be rendered on the page.
  • Be sure to use the page output type text or nothing will render.

Props

PropRequiredTypeDescription
required propyes
optional propno
contentConfig examplePlease specify which content sources are compatible

ANS Schema

Outline any schema information requirements necessary to know for ths block

ANS Fields

  • n/a

Internationalization fields

Phrase keyDefault (English)
keyenglish translation

Events

Blocks can emit events. The following is a list of events that are emitted by this block.

Event NameDescription
eventNameDescribe the event

Event Listening

Include block specific instructions for event listening.

OR

This block does not emit any events.

Additional Considerations

Production

Before go live, open a ticket with ACS (Arc Customer Service) asking to have a redirect added:

rewrite ^/robots.txt$ /robots.txt?outputType=text? last;
5.13.2

3 years ago

5.13.3

3 years ago

5.11.3

3 years ago

5.11.2

3 years ago

5.10.4

3 years ago

5.10.2

3 years ago

5.10.0

3 years ago

5.9.15

3 years ago