-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/1.2.0' into v1
- Loading branch information
Showing
16 changed files
with
453 additions
and
680 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,40 @@ | ||
{ | ||
"name": "nystudio107/craft-templatecomments", | ||
"description": "Adds a HTML comment with performance timings to demarcate `{% block %}`s and each Twig template that is included or extended.", | ||
"type": "craft-plugin", | ||
"version": "1.1.2", | ||
"keywords": [ | ||
"craftcms", | ||
"craft-plugin", | ||
"twig", | ||
"comments", | ||
"debugging" | ||
], | ||
"support": { | ||
"docs": "https://nystudio107.com/plugins/template-comments/documentation", | ||
"issues": "https://nystudio107.com/plugins/template-comments/support" | ||
}, | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "nystudio107", | ||
"homepage": "https://nystudio107.com/" | ||
} | ||
], | ||
"require": { | ||
"craftcms/cms": "^3.1.29" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"nystudio107\\templatecomments\\": "src/" | ||
} | ||
}, | ||
"extra": { | ||
"name": "Template Comments", | ||
"handle": "templatecomments", | ||
"hasCpSettings": false, | ||
"hasCpSection": false, | ||
"changelogUrl": "https://raw.githubusercontent.com/nystudio107/craft-templatecomments/v1/CHANGELOG.md", | ||
"class": "nystudio107\\templatecomments\\TemplateComments" | ||
"name": "nystudio107/craft-templatecomments", | ||
"description": "Adds a HTML comment with performance timings to demarcate `{% block %}`s and each Twig template that is included or extended.", | ||
"type": "craft-plugin", | ||
"version": "1.2.0", | ||
"keywords": [ | ||
"craftcms", | ||
"craft-plugin", | ||
"twig", | ||
"comments", | ||
"debugging" | ||
], | ||
"support": { | ||
"docs": "https://nystudio107.com/plugins/template-comments/documentation", | ||
"issues": "https://nystudio107.com/plugins/template-comments/support" | ||
}, | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "nystudio107", | ||
"homepage": "https://nystudio107.com/" | ||
} | ||
], | ||
"require": { | ||
"craftcms/cms": "^3.1.29" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"nystudio107\\templatecomments\\": "src/" | ||
} | ||
}, | ||
"extra": { | ||
"name": "Template Comments", | ||
"handle": "templatecomments", | ||
"hasCpSettings": false, | ||
"hasCpSection": false, | ||
"changelogUrl": "https://raw.githubusercontent.com/nystudio107/craft-templatecomments/v1/CHANGELOG.md", | ||
"class": "nystudio107\\templatecomments\\TemplateComments" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<!-- >>> BLOCK BEGIN >>> htmlPage FROM _boilerplate/_layouts/base-web-layout.twig --> | ||
<!DOCTYPE html> | ||
<html lang="en" prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb#"> | ||
|
||
<!-- >>> BLOCK BEGIN >>> headContent FROM _boilerplate/_layouts/base-html-layout.twig --> | ||
<head> | ||
<meta name="referrer" content="no-referrer-when-downgrade"> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width,minimum-scale=1"> | ||
</head> | ||
<!-- <<< BLOCK END <<< headContent FROM _boilerplate/_layouts/base-html-layout.twig TIME 0.01ms --> | ||
|
||
<!-- >>> BLOCK BEGIN >>> bodyContent FROM _boilerplate/_layouts/base-html-layout.twig --> | ||
<body> | ||
<div id="page-container" class="overflow-hidden leading-tight"> | ||
<div id="component-container"> | ||
</div> | ||
<div id="content-container" class="bg-repeat header-background"> | ||
|
||
<!-- >>> BLOCK BEGIN >>> subcontent FROM index --> | ||
<section> | ||
<h3>subcontent</h3> | ||
</section> | ||
<!-- <<< BLOCK END <<< subcontent FROM index TIME 0.00ms --> | ||
|
||
</div> | ||
</div> | ||
</body> | ||
<!-- <<< BLOCK END <<< bodyContent FROM _boilerplate/_layouts/base-html-layout.twig TIME 1.58ms --> | ||
|
||
</html> | ||
<!-- <<< BLOCK END <<< htmlPage FROM _boilerplate/_layouts/base-web-layout.twig TIME 6.22ms --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+222 KB
(220%)
docs/docs/resources/screenshots/templatecomments-example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.