Skip to content

Commit

Permalink
Added base
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Treur committed Oct 20, 2021
0 parents commit 2426fe4
Show file tree
Hide file tree
Showing 24 changed files with 3,096 additions and 0 deletions.
Binary file added .DS_Store
Binary file not shown.
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# SEO Lite (v2)
SEO Lite (v2) is a lightweight SEO addon for ExpressionEngine.

## Documentation
Put one of these tags in your template:
* Intelligent mode aka Use-Last-Segment-Mode: ```{exp:seo_lite use_last_segment="yes"}```
* By segment: ```{exp:seo_lite url_title="{segment_3}"}```
* By entry_id: ```{exp:seo_lite entry_id="{entry_id}"}```
* Static mode aka I-Will-Provide-Values-In-Template: (this will output "About Us" for the title tag but still use the default keywords/description for the site): ```{exp:seo_lite default_title="About us"}```
* Static mode with everything overridden: ```{exp:seo_lite default_title="About us" default_keywords="new, keywords" default_description="This description is unique for this page"}```

## What's new
* Twitter and OG tag support.
![Example of Twitter and OG tags](examples/example-tags.jpg)
* Simple audit with Google, Facebook and Twitter examples.
![Example of audit](examples/example-audit.jpg)

## Supports
* ExpressionEngine 5
* ExpressionEngine 6

## Compatibility
* Publisher
* Structure

## Based on
SEO Lite (v2) is based on [SEO Lite by bjornbjorn](https://github.com/bjornbjorn/SEO-Lite)

## Developers
* [Robin Treur](mailto:[email protected])
Binary file added examples/example-audit.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/example-tags.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added system/.DS_Store
Binary file not shown.
Binary file added system/user/.DS_Store
Binary file not shown.
Binary file added system/user/addons/.DS_Store
Binary file not shown.
Binary file added system/user/addons/seo_lite/.DS_Store
Binary file not shown.
11 changes: 11 additions & 0 deletions system/user/addons/seo_lite/addon.setup.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

return array(
'author' => '0to9 Creative Impact Agency',
'author_url' => 'https://0to9.nl',
'name' => 'SEO Lite (v2)',
'description' => 'The no-brainer approach to SEO for ExpressionEngine. This module is a fork of SEO Lite (https://github.com/bjornbjorn/SEO-Lite)',
'version' => '2.0.0',
'namespace' => '0to9\SEO-Lite-2',
'settings_exist' => TRUE,
);
3 changes: 3 additions & 0 deletions system/user/addons/seo_lite/config/seolite.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

$config['seolite_show_keywords_field'] = 'y';
Binary file added system/user/addons/seo_lite/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 50 additions & 0 deletions system/user/addons/seo_lite/language/english/seo_lite_lang.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<?php

$lang['seo_lite'] = 'SEO';
$lang['seo_lite_module_name'] = "SEO Lite (v2)";
$lang['seo_lite_module_description'] = "One calorie SEO module, no sugar added!";
$lang['seo_lite_welcome'] = "Welcome to SEO Lite (v2)";
$lang['default_keywords'] = "Default page keywords";
$lang['default_description'] = "Default page description";
$lang['settings'] = "Settings";
$lang['instructions'] = "Instructions";
$lang['audit_overview'] = "Audit Overview";
$lang['audit'] = "Audit";
$lang['audit_goto_instr'] = "Make sure you have saved the page first.";
$lang['audit_goto_button'] = "Go To Audit";
$lang['instructions'] = "Instructions";
$lang['no_entries'] = "There are no entries yet.";
$lang['og_tags'] = "OG: Tags";
$lang['og_title'] = "OG: Title";
$lang['og_description'] = "OG: Description";
$lang['og_description_instr'] = "Description for Facebook, LinkedIn, Whatsapp, Instagram, etc.";
$lang['og_image'] = "OG: Image";
$lang['og_image_instr'] = "The selected image will be visible after updating";
$lang['og_type'] = "OG: Type";
$lang['og_url'] = "OG: URL";
$lang['twitter_tags'] = "Twitter Tags";
$lang['twitter_title'] = "Twitter Title";
$lang['twitter_description'] = "Twitter: Description";
$lang['twitter_description_instr'] = "Description for Twitter";
$lang['twitter_image'] = "Twitter: Image";
$lang['twitter_image_instr'] = "The selected image will be visible after updating";
$lang['twitter_type'] = "Twitter: Type";
$lang['development'] = "Development";
$lang['robots_directive'] = "Robots directive";
$lang['current_value'] = 'Current Value';
$lang['seolite_settings_saved_title'] = 'Saved!';
$lang['seolite_settings_saved'] = 'SEO Lite (v2) settings saved';
$lang['seotitle'] = 'Title';
$lang['title_instructions'] = "Optional, if you do not specify anything the entry title will be used. Remember that most search-engines use a maximum of 60 characters for the title.";
$lang['seokeywords'] = 'Meta Keywords';
$lang['keywords_instructions'] = 'A comma separated list of keywords';
$lang['seodescription'] = 'Meta Description';
$lang['description_instructions'] = 'Write a short sentence or two that sums up the entry (many search engines will display this in the search results)';
$lang['default_title_postfix'] = 'Default title postfix';
$lang['default_title_postfix_description'] = "Whatever you specify here will be appended after the {title}, unless overridden by the <em>title_postfix</em> parameter in the tag.";
$lang['include_pagination_in_canonical_description'] = "Include pagination links (i.e. P10) in canonical URL output?";
$lang['include_pagination_in_canonical_description_y'] = "Yes";
$lang['include_pagination_in_canonical_description_n'] = "No";

$lang['docs'] = 'Documentation';
$lang['settings'] = 'Settings';
Loading

0 comments on commit 2426fe4

Please sign in to comment.