Skip to content

Commit

Permalink
Merge branch 'master' of github.com:hydephp/framework
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Apr 27, 2022
2 parents 34841aa + e4c4305 commit 39032f9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions config/hyde.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@
Features::torchlight(),
],


/*
|--------------------------------------------------------------------------
| Asset Locations
Expand All @@ -117,7 +116,7 @@
| reduce complexity. Instead, the assets are loaded through the
| jsDelivr CDN. You can also load Tailwind from the CDN by
| changing the config setting below. If you set it to
| false, Hyde will load the media/app.css, which
| false, Hyde will load the media/app.css, which
| you compile using NPM.
*/

Expand Down
4 changes: 2 additions & 2 deletions src/Hyde.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static function version(): string
*/
public static function tailwind(): string|false
{
return config('hyde.loadTailwindFromCDN')
return config('hyde.loadTailwindFromCDN')
? 'https://cdn.jsdelivr.net/gh/hydephp/[email protected]/dist/app.css'
: false;
}
Expand All @@ -42,7 +42,7 @@ public static function styles(): string
/**
* Return the Hyde scripts.
*/
public static function scripts(): string
public static function scripts(): string
{
return 'https://cdn.jsdelivr.net/gh/hydephp/[email protected]/dist/hyde.js';
}
Expand Down
2 changes: 1 addition & 1 deletion src/Models/HasMetadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ protected function makeMetaProperties(): void
if (is_string($this->matter['image'])) {
$this->metadata->addProperty('og:image', $this->matter['image']);
} else {
if(isset($this->matter['image']['path'])) {
if (isset($this->matter['image']['path'])) {
$this->metadata->addProperty('og:image', $this->matter['image']['path']);
}
if (isset($this->matter['image']['uri'])) {
Expand Down

0 comments on commit 39032f9

Please sign in to comment.