Skip to content

Commit 521fb5d

Browse files
committed
Rename add-on to svg output
1 parent 52e1d0b commit 521fb5d

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Raw Asset Tag ![Statamic 2.0](https://img.shields.io/badge/statamic-2.0-blue.svg?style=flat-square)
1+
# SVG Output Tag ![Statamic 2.0](https://img.shields.io/badge/statamic-2.0-blue.svg?style=flat-square)
22

3-
Render the output of any file in your asset folder using the ID.
3+
Render the output of any SVG file in your asset folder using the ID.
44

55
## Installation
66
1. Copy over the files into the `site` folder.
7-
2. Output the raw asset using the new `raw_asset` tag!
7+
2. Output the raw SVG asset using the new `svg_output` tag!
88

99
## Parameters
1010

@@ -14,7 +14,7 @@ Class - Allows you to add a class to the tag
1414
## Example
1515

1616
```
17-
{{ raw_asset id="{id}" class="class-name" }}
17+
{{ svg_output id="{id}" class="class-name" }}
1818
```
1919

2020
```

addons/RawAsset/RawAssetTags.php addons/SvgOutput/SvgOutputTags.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
22

3-
namespace Statamic\Addons\RawAsset;
3+
namespace Statamic\Addons\SvgOutput;
44

55
use Statamic\API\Asset;
66
use Statamic\Extend\Tags;
77

8-
class RawAssetTags extends Tags
8+
class SvgOutputTags extends Tags
99
{
1010
public function index()
1111
{
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
name: Raw Assets
1+
name: SVG Output
22
version: 1.0.0
3-
description: Render the raw output of an asset by ID.
3+
description: Render the raw output of an SVG asset by ID.
44
url: mike-martin.ca
55
developer: Mike Martin
66
developer_url: mike-martin.ca

0 commit comments

Comments
 (0)